[comp.windows.x.motif] XmScale value label clipping

roger@zuken.co.jp (Roger Meunier) (03/05/91)

I hate to bring this up again, but there was no response the first
time around.... I'd REALLY appreciate some assistance.

In article <ROGER.91Feb26115352@rd1s.zuken.co.jp> roger@zuken.co.jp (Roger Meunier) writes:

 > I have a horizontal XmScale widget with XmNshowValue set to true.
 > The values displayed typically have so many digits that the value
 > label width exceeds the width of the slider.  With the scale indicator
 > towards the center of the widget, all digits in the value label are
 > visible, but when the slider is moved to either the left or right edge
 > of the widget, the leading/trailing digits of the value label are
 > being clipped.  For example:
 > 
 > 
 > 		   1234567890  <-- value label
 > 		     XXXXXX----------------
 > 		       ^ slider
 > 
 > In this case, the value actually appears as "34567890" because the
 > two leading digits are being clipped by the widget.
 > 
 > I have tried changing XmNscaleWidth and XmNwidth, but both values
 > are being ignored.  (XmNscaleHeight and XmNheight work fine!)
 > 
 > Does anyone have a solution which will guarantee that the value label
 > will never be clipped?  Any advice will be appreciated.
 > 
 > (We're running Motif 1.0[.3?] on HP 9000 series 400.)
--
Roger Meunier @ Zuken, Inc.  Yokohama, Japan	(roger@zuken.co.jp)