Re: XForms: small fix for multiline labels needed

Steve Lamont (spl@szechuan.ucsd.edu)
Mon, 12 Jan 98 07:10:28 PST

To subscribers of the xforms list from spl@szechuan.ucsd.edu (Steve Lamont) :

> I've noticed small bug in multiline labels (e.g. of the INPUT object).
> It seems as if every "\n" in the label was changed internally to a
> space. All but the last line of the label get shifted a bit to the left
> and are not vertically aligned with the last line unless I explicitely add
> one space at the very end of the label. It is not a big deal, but looks
> a bit inelegantly, especially if one has many aligned input objects
> (some of them having only one-line labels).

This is a known (and soon to be fixed) bug. It's actually not a space
but an extraneous '\0' which is created when multiline labels are
parsed internally. Depending upon your font, this will be displayed
as nothing (no space), a black rectangle, or, it would seem, a space.

spl
_________________________________________________
To unsubscribe, send the message "unsubscribe" to
xforms-request@bob.usuf2.usuhs.mil or see
http://bob.usuf2.usuhs.mil/mailserv/xforms.html
Xforms Home Page: http://bloch.phys.uwm.edu/xforms
List Archive: http://bob.usuf2.usuhs.mil/mailserv/list-archives/