Placement of Floating widgets [message #10491] |
Wed, 10 December 1997 00:00  |
Matthew Hanson
Messages: 11 Registered: October 1997
|
Junior Member |
|
|
When i set a group leader and set the floating keyword i would expect
that the new widget would be in the center of the group leader. It is
not. The top left hand corner of the widget is in the center! If the
offset keywords are set they just move it from the top left of the
screen. Anyone know how to make a widget appear in the exact center of
it's group leader?
-matt
--
Matthew Hanson
KTAADN, Inc. Phone: (617)527-0054
1320 Centre Street, Suite 201 Fax: (617)527-9321
Newton, MA 02159
matt@ktaadn.com matth@who.net vroomfogle@worldnet.att.net
|
|
|
Re: Placement of Floating widgets [message #10579 is a reply to message #10491] |
Thu, 11 December 1997 00:00  |
David Foster
Messages: 341 Registered: January 1996
|
Senior Member |
|
|
Matthew Hanson wrote:
>
> When i set a group leader and set the floating keyword i would expect
> that the new widget would be in the center of the group leader. It is
> not. The top left hand corner of the widget is in the center! If the
> offset keywords are set they just move it from the top left of the
> screen. Anyone know how to make a widget appear in the exact center of
> it's group leader?
> -matt
Matt -
You can download the files POS_WIDGET.PRO and POS_WIDGET.DOC from
my anonymous ftp site:
bial8.ucsd.edu pub/software/idl/share
This routine makes it very easy to position widgets based on their
group leader, and offers a variety of options. Even if you don't
want to use it, it is a good example of how to position widgets.
Hope this helps, and I hope you've learned something about 'netiquette'
in the process.
Dave
--
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~
David S. Foster Univ. of California, San Diego
Programmer/Analyst Brain Image Analysis Laboratory
foster@bial1.ucsd.edu Department of Psychiatry
(619) 622-5892 8950 Via La Jolla Drive, Suite 2240
La Jolla, CA 92037
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~
|
|
|