comp.lang.idl-pvwave archive
Messages from Usenet group comp.lang.idl-pvwave, compiled by Paulo Penteado

Home » Public Forums » archive » Scrollable Draw Widget Resizing
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Switch to threaded view of this topic Create a new topic Submit Reply
Scrollable Draw Widget Resizing [message #42132] Thu, 23 December 2004 15:29
pulsifer@bigfoot.com is currently offline  pulsifer@bigfoot.com
Messages: 5
Registered: December 2004
Junior Member
I am having a lot of trouble getting a Scrollable Draw widget to resize
correctly. Especially when I make it smaller or larger than a quarter
of the display.

My Widget Program is going to display a Plot in a scrolling Draw
Widget. When I initially create the plot and the draw widget, then
everything looks great. It is only when I drag the window resizer that
I have a problem.

I get a lot of resize events. The window also seems to get larger and
smaller then what I am dragging. It seems to be getting adjusted to
sizes under someone's control. I can't figure it out. I move the size
handle a little bit and the size jumps a lot. Usually the scroll bars
completely or partially disappear. I even tried setting the size to
less than the event.x and event.y. I tried subtracting 12 and 48 and
it still sometimes loses the scroll bars.

I am running IDL 5.6 for Mac OS X. I have heard some people delete and
recreate the draw window, but that seems a little excessive. I have
looked at Fanning's and Gumley's books and web sites, but haven't found
a good solution to this problem yet.

I tried the UNIX hack that someone suggest, but that made it worse.
Whenever you resize, the draw window shrinks to a really small size for
any move.
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: Linking buttons to plot windows
Next Topic: Re: Scrollable Draw Widget Resizing

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ] [ PDF ]

Current Time: Sun Oct 12 19:44:00 PDT 2025

Total time taken to generate the page: 0.01433 seconds