Changes in wigdet behavior/appearance under IDL 4.0 [message #4516] |
Wed, 14 June 1995 00:00 |
zawodny
Messages: 121 Registered: August 1992
|
Senior Member |
|
|
I am running IDL V4.0 under OSF/1 V3.0 and I have noticed that the new
release of IDL has radically altered the appearence of my widgets. I have
traced the "problem" to the following example.
r = widget_label(b,value='Junk',xsize=4)
Under previous versions of IDL this would work as expected, but under V4.0
the text is truncated (only a fraction of a letter is visible). Dropping
the XSIZE keyword "fixes" the problem.
It appears that the "units" on the XSIZE keyword has changed from
characters to pixels. That is fine with me if it means that the widgets
will be more transportable across platforms, however, this behavior is not
consistent across widgets. For example in WIDGET_TEXT, XSIZE is still in
units of characters (BTW In my opinion it should be in units of charaters).
Furthermore, these label widgets no longer center themselves in a column
base.
Has anyone else seen this or related alterations to widget behavior? If so
on what platforms and under what operating(windowing) system?
With all the software changes that we have to go through to upgrade to the
next version of IDL, it seems to me that RSI should be paying us to
upgrade!
--
Joseph M. Zawodny (KO4LW) NASA Langley Research Center
Internet: j.m.zawodny@larc.nasa.gov MS-475, Hampton VA, 23681-0001
TCP/IP: ko4lw@ko4lw.ampr.org Packet: ko4lw@n4hog.va.usa.na
|
|
|