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

Home » Public Forums » archive » Re: base widgets growing uncontrollably.... ?
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Return to the default flat view Create a new topic Submit Reply
Re: base widgets growing uncontrollably.... ? [message #25888 is a reply to message #25884] Thu, 26 July 2001 00:57 Go to previous messageGo to previous message
marc schellens[1] is currently offline  marc schellens[1]
Messages: 183
Registered: January 2000
Senior Member
Paul van Delst wrote:
> I'm seeing a weird effect with an IDL widget app I put together and I'm hoping someone
> here might recognise the symptoms and inform me of some widget_base keyword I have
> forgotten.
>
> I create a base within which I create several compound widgets (that I wrote) each, of
> course, within it's own base. Currently I have three compund widgets in the base (all of
> which contains exclusive button bases); two with column=1 and the third with grid_layout=1
> and column=3. Now, when I add more buttons to the third compound widget (currently I have
> three columns of five buttons), the size of the other compound widgets grow! It's at the
> point now where half of the space in the widget display is just empty, dead space. If I
> remove items from the third compund widget (which is always of a size such there is no
> empty space) the dead space in the other two shrinks.
>
> Anyone have an idea what I'm doing wrong and how to fix it? I would rather not have to use
> XSIZE/YSIZE/etc keywords.>

As I understood you modify an already realized widget.
I had similar experience, even without grid layout bases some time ago.
What helped me was using:

widget_control,tlb,UPDATE=0 (1)

before (after) the modification.
Thisway the sizes were correct and the speed the changes were
carried out was drastically higher.

Hope that helps,
marc
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Subregion in table widget
Next Topic: plotting two sets of contours

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

Current Time: Sat Oct 11 14:20:07 PDT 2025

Total time taken to generate the page: 0.47887 seconds