RFR: 8318095: TextArea/TextFlow: wrong layout in RTL mode

Andy Goryachev angorya at openjdk.org
Thu Dec 4 03:27:12 UTC 2025


On Wed, 3 Dec 2025 13:33:31 GMT, Ziad El Midaoui <zelmidaoui at openjdk.org> wrote:

> Fixed issue with TextArea/TextFlow added a check `isMirrored()` in `PrismTextLayout.setWrapWidth` which makes the text right aligned in RTL.
> Tested with monkeyTester and the test in the bug

Forgot to mention: the text layout geometry depends on the padding/borders, please make sure they are taken into account.

-------------

PR Comment: https://git.openjdk.org/jfx/pull/1995#issuecomment-3609893349


More information about the openjfx-dev mailing list