Re: XForms: small fix for multiline labels needed

Steve Lamont (
Mon, 12 Jan 98 07:10:28 PST

To subscribers of the xforms list from (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.

To unsubscribe, send the message "unsubscribe" to or see
Xforms Home Page:
List Archive: