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

Home » Public Forums » archive » Re: columns not shown in table widget on Solaris
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Switch to threaded view of this topic Create a new topic Submit Reply
Re: columns not shown in table widget on Solaris [message #72913] Tue, 19 October 2010 07:01
JamesMeteo is currently offline  JamesMeteo
Messages: 6
Registered: October 2010
Junior Member
> Hi,
>
> try setting X_Scroll_Size=4, as you use scroll bars and the help says
> "Because the default size of the scrolling viewport may differ between
> platforms"...
>
> Jean

I should have mentioned that I had tried that and it made no
difference.

James
Re: columns not shown in table widget on Solaris [message #72916 is a reply to message #72913] Tue, 19 October 2010 03:30 Go to previous message
jeanh is currently offline  jeanh
Messages: 79
Registered: November 2009
Member
On 18/10/2010 4:51 PM, JamesMeteo wrote:
> Hi everyone,
>
> The code below when run with IDL 8.0 produces a widget table that
> shows all its columns with Windows XP, but only one with Solaris.
>
> Any thoughts for how to make it better?
>
> James Drake
> The Aerospace Corporation


Hi,

try setting X_Scroll_Size=4, as you use scroll bars and the help says
"Because the default size of the scrolling viewport may differ between
platforms"...

Jean




>
>
> PRO examp, GROUP = GROUP
>
> base = WIDGET_BASE(TITLE = '', /ROW, XSIZE = 1000)
>
> base1 = WIDGET_BASE(base)
>
> ; Make longstring wide enough for the widest row label.
> longstring = Strarr(1600) +
> 'VCM_AERO_ASH_M15M16BTDIFF_MIDLAT_MAX_THRESH_3'
>
> table = WIDGET_TABLE(base1, Y_Scroll_Size=10, XSize=4, $
> Row_Labels=longstring, Value=Strarr(4,1600), $
> Column_Labels=['default','minimum', 'maximum','value'], $
> UValue='table', Column_Width=[1,1,1,1], Units=1, $
> Editable=[Intarr(3,1600),Transpose(1+Intarr(1600))], $
> Background=[[250,250,200], [250,250,200], [250,250,200], [255, 255,
> 255]] )
>
> WIDGET_CONTROL, base
>
> ; Realize the widgets:
>
> WIDGET_CONTROL, base1, /REALIZE
> WIDGET_CONTROL, table, use_table_select=[-1,0,3,1599], $
> column_width=[4,1,1,1,1],units=1
>
> END
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: columns not shown in table widget on Solaris
Next Topic: Re: no bitmap on widget base in Solaris

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

Current Time: Wed Oct 08 13:33:29 PDT 2025

Total time taken to generate the page: 0.00365 seconds