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

Home » Public Forums » archive » Extra space around widget windows....
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Return to the default flat view Create a new topic Submit Reply
Extra space around widget windows.... [message #16053] Wed, 30 June 1999 00:00 Go to previous message
Ronald Hatcher is currently offline  Ronald Hatcher
Messages: 1
Registered: June 1999
Junior Member
I'm having trouble controlling the amount of excess space IDL seems to
want to put
at the left and at the bottom of a table widget window. I see no way of
eliminating this
extra space or of at least making it appear on all four sides. Any help
would be greatly
appreciated.

For example here is a piece of code that realizes a small widget table
that has this problem.

varNams = ['NCB','KPB','DIMAX [kA]']
numNams = size(info.br_names,/n_elements)
numVars = size(varNams,/n_elements)
sc4 = $
[info.rtc_ncb, info.rtc_kpb, info.rtc_dimax]
sc4 = transpose(reform(sc4,numNams,numVars))
base4 = widget_base(MBar=menuid, group_leader=gl, $
TITLE='SCREEN 4')
; define a action menu with a dismiss entry
actionID = Widget_Button(menuid, Value='Action', Menu=1, $
XSIZE=10,YSIZE=20)
quitID = Widget_Button(actionID, Value='DISMISS', $
Event_Pro='Wid_Destroy')
sc4_wid = widget_table(base4, $
units=2, xsize = numVars, ysize = numNams, $
column_labels=varNams, row_labels=info.br_names, $
column_widths=[1.4,1.4,1.6], /editable, $
value=sc4 $
)
widget_control, base4, /realize
widget_control, base4, Set_Uvalue=info.tlb
XManager, 'Screen 4', base4, /No_Block, $
Event_Handler='XCD_Screen4'

Note that I am somewhat of a beginner so please forgive me if this is
something obvious. It certainly isn't from the documentation.

R
[Message index]
 
Read Message
Read Message
Previous Topic: singular value decompostion
Next Topic: Leaving the IDL World for Now

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

Current Time: Wed Oct 08 17:14:06 PDT 2025

Total time taken to generate the page: 0.00468 seconds