XmScale does not honor XmNshowValue=XmNEAR_BORDER

This forum is read only. No new submissions are accepted.

Questions about motif? Contact us

4 posts / 0 new
Last post
XmScale does not honor XmNshowValue=XmNEAR_BORDER

 

This is openmotif 2.2.3 on RHEL4.6 .

Basically, it does not matter if I set XmNshowValue to XmNEAR_BORDER or XmNEAR_SLIDER. I get the XmNEAR_SLIDER behavior in either case. Any idea, anyone?

I forgot to mention, the

 

I forgot to mention, the reason I want to try XmNEAR_BORDER is that when the range of my XmScale is large (say 0 to 100000000) the value displayed next to the slider gets clipped when it is near the low end and high end of the range, particularly if XmNslidingMode is set to XmTHERMOMETER. If someone has a solution to that, I'd like to hear it as well.

I have tried this with

 

I have tried this with latest OpenMotif 2.3.3 and got the same result. Looks like this is a bug in motif. I have created new bug entry on OM bugzilla http://bugs.motifzone.net/long_list.cgi?buglist=1508. It will be fixed in next OM release.

 

The difference between

 

The difference between XmNEAR_BORDER and XmNEAR_SLIDER is on which side regarding possible XmScale's child widgets will be displayed value. For this reason, bug #1508 was closed.
There were several problems with displaying XmScale listed in bug #1528, among which incorrect value display near the widget boundary. But they were fixed in CVS HEAD.
It will be great if you provide some feedback connected to the patch.