Problem with display of WIDGET_SLIDER max value [message #25316] |
Mon, 28 May 2001 08:20 |
Richard Tyc
Messages: 69 Registered: June 1999
|
Member |
|
|
Has anyone else experienced this:
I use a slider widget originally set with the following properties:
wSliceSelSldr = WIDGET_SLIDER(wMBaseC2, VALUE=1, TITLE='Slice',$
UVALUE='wSliceSel',MAXIMUM=2,MINIMUM=1, $
/DRAG,XSIZE=256,FONT=fontid1)
Later in the code, as I add more slices to my draw widget, I need to update
the slider widget like:
WIDGET_CONTROL, (*pState).wSliceSelSldr, SET_SLIDER_MAX=3
WIDGET_CONTROL, (*pState).wSliceSelSldr, SET_VALUE=3
Minimum value stays at 1.
Problem is, as soon as I hit 10 for max value, the number displayed on the
screen is corrupted and you can hardly make it out.
It's as if the display size for the number was set originally based on max
value of 2, and now the widget does not allow the size of the number to
increase on the display ? Any workarounds
Rich
|
|
|