[comp.windows.x.motif] XmScale bugs

roger@zuken.co.jp (Roger Meunier) (07/26/90)

I have noticed some strange behavior with Motif XmScale.  (The
following comments refer to vertically oriented scales.)

1)	It ignores the following resources:

		XmNscaleHeight
		XmNscaleWidth
		XmNheight
		XmNwidth

2)	It seems to use a value larger than the specified font
	character width for determining the value display area
	width.  Therefore, when the maximum value is 4 digits,
	I get a width that could hold about a 6-digit value.

3)	The automatically-computed height is constant, no matter
	how wide the value range is set.

4)	If XmNdecimalPoints is set to 3 and XmNvalue is set to
	123456, the displayed value should be "123.456", but all
	that is displayed is "456".  Everything to the left and
	including the decimal point is NOT displayed.  (The internal
	value has been verified to be 123456, so I assume it is
	a display formatting problem.)

I am using Motif 1.0 with X11R3 on HP9000 300-series under HP-UX 7.0.

Is this known behavior (hopefully fixed in Motif 1.1), or should I file
bug report(s)?
--
Roger Meunier @ Zuken, Inc.  Yokohama, Japan	(roger@zuken.co.jp)