RFR: 8370465: Right to Left Orientation Issues with MenuItem Component [v3]

Prasanta Sadhukhan psadhukhan at openjdk.org
Wed Oct 29 10:47:52 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" />

Prasanta Sadhukhan has updated the pull request incrementally with one additional commit since the last revision:

  Correct layouting

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

Changes:
  - all: https://git.openjdk.org/jdk/pull/27968/files
  - new: https://git.openjdk.org/jdk/pull/27968/files/e8446a6e..201f9aca

Webrevs:
 - full: https://webrevs.openjdk.org/?repo=jdk&pr=27968&range=02
 - incr: https://webrevs.openjdk.org/?repo=jdk&pr=27968&range=01-02

  Stats: 15 lines in 2 files changed: 11 ins; 0 del; 4 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