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

Home » Public Forums » archive » IDL re-sizing - how to do EASILY?
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Return to the default flat view Create a new topic Submit Reply
IDL re-sizing - how to do EASILY? [message #4600] Fri, 02 June 1995 00:00
kotsines is currently offline  kotsines
Messages: 4
Registered: June 1995
Junior Member
I am fairly new to IDL, and am trying to make my widget application
re-sizable. I would prefer not to use TLB events to determine when
my window has been resized and then manually re-size all the widgets
within it.

Is there an easy way to make a widget that will re-size itself to
the size of it's parent? example:

BASE = WIDGET_BASE( title = 'test' )
DRAW = WIDGET_DRAW( BASE )
WIDGET_CONTROL, BASE, /REALIZE


...at this point, the DRAW widget will be a small square regardless
of how big I drag the BASE window to.

My real application is not so simple, and has multiple widgets in
BASE. However, I want only one of those internal widgets to be
re-sized when BASE is resized.

Any ideas on how to gracefully do this?


Thanks,
Tom
[Message index]
 
Read Message
Previous Topic: TLB_GET_SIZE - strangeness!
Next Topic: Re: tickname problem?

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

Current Time: Fri Oct 10 20:04:22 PDT 2025

Total time taken to generate the page: 0.40131 seconds