RFR: 8370465: Right to Left Orientation Issues with MenuItem Component.
Prasanta Sadhukhan
psadhukhan at openjdk.org
Fri Oct 24 04:32:35 UTC 2025
Icon rendering offset is wrong for RTL orientation which is why the icon was not rendered properly..Also, LEADING horizontal text position was not accounted for..
Before fix
<img width="386" height="487" alt="image" src="https://github.com/user-attachments/assets/d33140e0-85f1-471c-abf4-bfc7992cd79e" />
With fix
<img width="384" height="491" alt="image" src="https://github.com/user-attachments/assets/9df65234-2b84-48ae-b85e-eefdbfbd544e" />
-------------
Commit messages:
- 8370465: Right to Left Orientation Issues with MenuItem Component.
Changes: https://git.openjdk.org/jdk/pull/27968/files
Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=27968&range=00
Issue: https://bugs.openjdk.org/browse/JDK-8370465
Stats: 13 lines in 3 files changed: 8 ins; 0 del; 5 mod
Patch: https://git.openjdk.org/jdk/pull/27968.diff
Fetch: git fetch https://git.openjdk.org/jdk.git pull/27968/head:pull/27968
PR: https://git.openjdk.org/jdk/pull/27968
More information about the client-libs-dev
mailing list