Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!uunet!kddlab!titcca!kogwy!new1!roger From: roger@zuken.co.jp (Roger Meunier) Newsgroups: comp.windows.x.motif Subject: Re: XmScale value label clipping Message-ID: Date: 5 Mar 91 04:46:18 GMT References: Sender: news@new1.zuken.co.jp Organization: ZUKEN Inc. Yokohama, JAPAN Lines: 30 In-reply-to: roger@zuken.co.jp's message of 26 Feb 91 02:53:33 GMT 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@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)