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

Home » Public Forums » archive » Widget base size
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
Widget base size [message #7410] Wed, 13 November 1996 00:00
Ye Hong is currently offline  Ye Hong
Messages: 6
Registered: October 1996
Junior Member
Hi,

Does anyone knows how I can set a widget button size or the text font
size in a widget button ?

My program is as follows:
;MAIN WIDGET BASE
base = WIDGET_BASE(TITLE='Gprofview',xsize = wx, ysize = wy, /COLUMN)

pad = WIDGET_BASE(base, /FRAME, /ROW)

;The DISPLAY button:
disp = WIDGET_BUTTON(pad, VALUE = ' Display ', UVALUE = 'DISP')
;The DISPLAY NEXT button:
dispnext = WIDGET_BUTTON(pad, VALUE = ' Display Next ', UVALUE =
'DISPNEXT')
;The EXIX button:
exit = WIDGET_BUTTON(pad, VALUE = ' Exit ', UVALUE = 'EXIT')
; The HELP button:
help = WIDGET_BUTTON(pad, VALUE = ' Help ', UVALUE = 'HELP')

The four buttons (display, display next, exit, and help) are supposed
to fill in the widget base 'pad'. But they are overlayed sometimes and
filled only half xsize sometimes, depending on the terminal which I am
using. I also found that the text fonts (and its size) in the widget
window vary with terminal. Any clues?

Thanks.


-- Ye
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: min/max routines
Next Topic: Re: INTERPOLATION TECHNIQUES HELP

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

Current Time: Wed Oct 08 17:37:57 PDT 2025

Total time taken to generate the page: 0.00567 seconds