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

Home » Public Forums » archive » Re: widget 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
Re: widget sizing [message #52232 is a reply to message #52220] Wed, 10 January 2007 09:05 Go to previous messageGo to previous message
David Fanning is currently offline  David Fanning
Messages: 11724
Registered: August 2001
Senior Member
Wox writes:

> Euhm... the text widget has the correct size, it is the parent base
> widget which doesn't.
>
> I stripped of all unnecessary things. Pushing "make" shows what I
> mean:
>
>
> pro test_event,ev
> widget_control,ev.top,get_uvalue=base
> n=50
>
> t=widget_text(base,value=replicate('text',n),ysize=n,/SCROLL ,scr_ysize=100)
> end
>
>
> pro test
> base=widget_base(/row)
> bt=widget_button(base,value='make')
> ch=widget_base(base,/column)
> WIDGET_CONTROL,base, /REALIZE,set_uvalue=ch
> Xmanager,'test',base,/NO_BLOCK
> end

Ah, well, if you leave out the "YSIZE=n" keyword, I think
it works like you expect it to.

Cheers,

David
--
David Fanning, Ph.D.
Fanning Software Consulting, Inc.
Coyote's Guide to IDL Programming: http://www.dfanning.com/
Sepore ma de ni thui. ("Perhaps thou speakest truth.")
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Previous Topic: Re: Tex in idldoc?
Next Topic: Recorrido a Espa�a

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

Current Time: Sat Oct 11 04:56:07 PDT 2025

Total time taken to generate the page: 1.36390 seconds