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

Ziad El Midaoui zelmidaoui at openjdk.org
Wed Dec 3 14:32:13 UTC 2025


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

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

Commit messages:
 - Fix TextArea/TextFlow alignment right in RTL

Changes: https://git.openjdk.org/jfx/pull/1995/files
  Webrev: https://webrevs.openjdk.org/?repo=jfx&pr=1995&range=00
  Issue: https://bugs.openjdk.org/browse/JDK-8318095
  Stats: 1 line in 1 file changed: 0 ins; 0 del; 1 mod
  Patch: https://git.openjdk.org/jfx/pull/1995.diff
  Fetch: git fetch https://git.openjdk.org/jfx.git pull/1995/head:pull/1995

PR: https://git.openjdk.org/jfx/pull/1995


More information about the openjfx-dev mailing list