Resizing Mac base widgets [message #5056] |
Thu, 28 September 1995 00:00 |
kryan
Messages: 4 Registered: February 1995
|
Junior Member |
|
|
I've found a couple of bugs in WIDGET_BASE sizing on the Macintosh,
using IDL 4.0.1. First, if the contents of a parent base are resized (such
as a draw widget) so that the composite size of the base widget is larger
than screen size, you end up with the widget extending off the screen. If
it is created with the components so sized, the base window is limited to
the screen dimensions and has an active scroll bar. However, modifying the
contents once the widget has been realized creates a base widget extending
out of sight. If you use the mouse to resize an oversize window, it snaps
down to that size (screen limited), again with an active scroll bar.
However, there appears to be no way to cause the widget to do this under
program control.
Attempting to set the SCR_XSIZE and XSIZE to provide an active viewport
smaller than the overall widget size, as per the help files, does _not_
work: at best you get a window set to the XSIZE with inactive scroll bars,
and no way to look at the out of view portion of the base widget.
SCR_XSIZE does not appear to do anything to aid this. This represents a
bug in the executable, or a serious error in the documentation. Attempting
to pass a resizing event using WIDGET_CONTROL, in an attempt to force a
reevaluation of the size as per manual manipulation of the size box, also
does not work.
Any suggestions?
--
kwr
Internet: kryan@access.digex.com
|
|
|