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

Prasanta Sadhukhan psadhukhan at openjdk.org
Fri Oct 31 01:39:04 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:

  Add LEFT, RIGHT textPosition to test

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

Changes:
  - all: https://git.openjdk.org/jdk/pull/27968/files
  - new: https://git.openjdk.org/jdk/pull/27968/files/ca4e1904..ccc2368e

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

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