Inserting space between a 'widget_droplist' and a 'widget_button' [message #38303] |
Mon, 01 March 2004 08:34 |
sdj
Messages: 20 Registered: November 2003
|
Junior Member |
|
|
Dear All,
I have the following very trivial question I would like to put
forward:
How do I insert some blank space between a 'widget_droplist' and a
'widget_button' ?
I have tried adding the keyword 'ynozero' to the 'widget_button', but
it didn't do the trick.
This is the (bad) code I have:
...
...
...
;Top base widget
w_top = widget_base(title = 'TOP', mbar = w_menu, /column)
;First row
w_row1 = widget_base(w_top, /row)
;Column 1
w_c1 = widget_base(w_row1, /column, /frame)
w_c1l = widget_label(w_c1, /align_center, value = 'COLUMN 1')
;Column 2
w_c2 = widget_base(w_row1, /column, /frame)
w_c2l = widget_label(w_c2, /align_center, value = 'COLUMN 2')
;Column 3
w_c3 = widget_base(w_row1, /column, /frame)
w_op1 = widget_droplist(w_c3, value = op1_att, title= 'OPTION 1', $
uvalue = 'op1_sel')
w_op2 = widget_droplist(w_c3, value = op2_att, title= 'OPTION 2', $
uvalue = 'op2_sel')
w_op3 = widget_droplist(w_c3, value = op3_att, title= 'OPTION 3', $
uvalue = 'op3_sel')
w_op4 = widget_droplist(w_c3, value = op4_att, title= 'OPTION 4', $
uvalue = 'op4_sel')
;**** THIS IS WHERE I WANT TO INSERT SOME 5 CM OF SPACE ******
w_go = widget_button(w_c3, value = 'GO AND DO THE STUFF', $
uvalue = 'go')
;Column 4, on-screen images
w_c4 = widget_base(w_row1, /column, /frame)
w_c4l = widget_label(w_c4, /align_center, value = 'COLUMN 4')
...
...
...
I am working with the following IDL version -
IDL>print, !version
{x86 linux unix linux 6.0.1 Aug 15 2003 32 64}
I hope this 'code pasting' is helpful and not too confusing !
Sorry for wasting your time and thanks in advance for your help.
Best Regards and hasta lluego,
Pepe
*************************************************
Pepe S. D. Juevara
- No debe cambiarse de caballo al cruzar el r�o -
*************************************************
|
|
|