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

Home » Public Forums » archive » Widgets Default sizing.
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Return to the default flat view Create a new topic Submit Reply
Widgets Default sizing. [message #10574] Fri, 12 December 1997 00:00
Evilio del Rio is currently offline  Evilio del Rio
Messages: 17
Registered: December 1997
Junior Member
Hello,

Does anybody know how to make all members of a Row base widget
have the same XSIZE (i.e. the largest on that base).
The keyword GRID_LAYOUT adjusts YSIZE for ROW bases and XSIZE for
COLUMN ones and it's not what I want. For example:

wbase = WIDGET_BASE(ROW=2); /GRID_LAYOUT here will make a 512x1024
; widget because it adjusts YSIZE of wbuts
wbuts = WIDGET_BASE(wbase,COLUMN=2,/GRID_LAYOUT)
wbut1 = WIDGET_BUTTON(wbuts,VALUE='Done')
wbut2 = WIDGET_BUTTON(wbuts,VALUE='Cancel')
wdraw = WIDGET_DRAW(wbase,XSIZE=512,YSIZE=512)
WIDGET_CONTROL,wbase,/REALIZE

I have tried different combinations like encapsulation of a ROW base with
a COLUMN base but it does not work. I don't want to use XSIZE directly
because I want this feature in a more sophisticated widget tree.


Many thanks.

Cheers,

____________________________________________________________ ____
Evilio Jose del Rio Silvan Institut de Ciencies del Mar
E-mail: edelrio@icm.csic.es URL: http://www.bodega.org/
"Anywhere you choose,/ Anyway, you're gonna lose"- Mike Oldfield
[Message index]
 
Read Message
Previous Topic: Re: Plotting one Title in a multiplot Window
Next Topic: Plotting one Title in a multiplot Window

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

Current Time: Thu Oct 09 23:23:09 PDT 2025

Total time taken to generate the page: 0.00564 seconds