customStaticText and staticText
Incorrectly wraps the text in the box. There is no current (known) fix for it client side as there's no attribute to control the scroll bar width. The proper (and general) way to calculate the width is as follows:
Code:
FUNC wrap_width(INT width, BOOL autoScroll)
IF autoScroll
RETURN width - X; //X is the length of the scroll bar.
ELSE
RETURN width;
ENDFUNC
Or alternatively, add a subset rect attribute for the scrollbar itself.
PS: I wanted to do something non-XML, even if it was just pseudocode.