Widget inflation [message #10819] |
Fri, 23 January 1998 00:00 |
Brian Jackel
Messages: 34 Registered: January 1998
|
Member |
|
|
Greetings
Has anybody encountered a situation where IDL widgets grow
larger everytime a DRAW_WIDGET is resized? This is version
{ mipseb IRIX unix 5.0.2 Aug 19 1997}. The problem is that
there is a draw widget as part of a more complex image viewing
tool, and when the image size changes (due to magnification)
I'm resizing the draw widget with a command like
WIDGET_CONTROL,info.drawID,XSIZE=nx,YSIZE=ny
If I start off with nx=ny=64 and then change to 128 then
the draw widget gets larger as expected. However, the
entire widget also grows by about 4 pixels in each direction.
Then changing the size back to 64x64 gives the correct
draw widget, but the main base grows even more.
Has anybody seen this kind of behavior before, and if so,
could you please tell me how to make it stop? If anyone
is particularly interested, I've got a 170 line program
which displays the "feature". If nobody in this group can
suggest anything I'll boil it down some more and send it
to RSI.
Brian Jackel
PS I've tried using DRAW_XSIZE and DRAW_YSIZE instead
of XSIZE and YSIZE, but that doesn't change anything.
|
|
|