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

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

Prasanta Sadhukhan has updated the pull request incrementally with three additional commits since the last revision:

 - unused import removed
 - formatting
 - Use existing check

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

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

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

  Stats: 5 lines in 1 file changed: 0 ins; 2 del; 3 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