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

Home » Public Forums » archive » Re: widget_label with multiple lines
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_label with multiple lines [message #54789] Fri, 13 July 2007 23:59 Go to previous message
bill.dman is currently offline  bill.dman
Messages: 17
Registered: June 2007
Junior Member
On Jul 13, 1:47 pm, JD Smith <jdsm...@as.arizona.edu> wrote:
> The following produces a multi-line widget label under Unix and OSX, but
> not Windows:
>
> b=widget_base(/ROW)
> l=widget_label(b,VALUE=string(replicate('test',6)+string(10b ),FORMAT='(6A)'))
> widget_control, b,/realize
>
> Would string([13b,10b]) work under Windows? If not, any other
> recommendation for a multi-line label?
>
> JD

It unattractive, but supplying YSIZE to widget_label() works in
windows. The trouble is the UNITS
keyword doesn't offer lines as an option, just pixels, centimeters,
and inches.
[Message index]
 
Read Message
Read Message
Read Message
Previous Topic: error in demo
Next Topic: moving an image before another

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

Current Time: Fri Oct 10 12:44:05 PDT 2025

Total time taken to generate the page: 0.72109 seconds