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

Home » Public Forums » archive » Re: widget_list silliness
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_list silliness [message #15738 is a reply to message #15731] Thu, 10 June 1999 00:00 Go to previous messageGo to previous message
J.D. Smith is currently offline  J.D. Smith
Messages: 214
Registered: August 1996
Senior Member
"J.D. Smith" wrote:
>
> Can a few people try:
>
> IDL> b=widget_base()
> IDL> l=widget_list(b,xsize=20,ysize=10,value='')
> IDL> widget_control,b,/realize
>
> vs.
>
> IDL> b=widget_base()
> IDL> l=widget_list(b,xsize=20,ysize=10)
> IDL> widget_control,b,/realize
> IDL> widget_control,l,set_value=''
>
> Under linux 5.2 I get a small list with a tiny selectable entry for the
> first method, and a regular sized (10 regular text columns high) list
> with a tiny entry for the second. I'm not sure why this entry is so
> tiny, but it sure makes things problematic when I fill the list in.
> This is new to 5.2 for me.

Here's a similar issue with widget_control and multiple select lists.

IDL> list=strtrim(bindgen(12)+1,2)+string(byte(randomu(sd,20,12)* 26+97))
IDL> b=widget_base()
IDL> l=widget_list(b,value=list,ysize=4,/MULTIPLE)
IDL> widget_control, b,/REALIZE

then

IDL> widget_control, l, set_list_select=indgen(12),set_list_top=6

vs.

IDL> widget_control, l, set_list_select=indgen(12)
IDL> widget_control, l, set_list_top=6


One works, the other does not, under Linux.

JD

--
J.D. Smith |*| WORK: (607) 255-5842
Cornell University Dept. of Astronomy |*| (607) 255-6263
304 Space Sciences Bldg. |*| FAX: (607) 255-5875
Ithaca, NY 14853 |*|
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Re: arbitrary rotation of 3-d arrays
Next Topic: Re: Nice plot application

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

Current Time: Wed Oct 08 20:10:20 PDT 2025

Total time taken to generate the page: 0.00548 seconds