3.2.0

Opera box/text align right chops off characters AW.UI.Input

obj.getContent("box/text").setStyle("text-align","right");

The text shifts too far to the right in Opera and the last character is chopped in half. If the number is 25, I see the 2 and the first 1/2 of the 5 character. This seems to be an alignment issue.

Works fine in Safari which is my control. Running Opera 9.64 as an alternate browser.
Myshka
June 8,
when using right alignment in opera, you need to ensure that the width of the box/text is set to the same width as the main control.

obj.setStyle("width","45px");

obj.getContent("box/text").setStyle("width","45px");

This fixes the internal alignment to the main control.
Myshka
June 8,

This topic is archived.

See also:


Back to support forum