RFR: 8371508: [macos] In Aqua LaF menu items layout is incorrect in RTL orientation [v2]
Alexander Zuev
kizune at openjdk.org
Sat Nov 8 23:26:19 UTC 2025
> The problem is that we do not correct the icon and text re-alignment that happens when we call SwingUtilities.layoutCompoundLabel
>
> Here's the comparison of the alignment before and after the fix
> Before:
> <img width="708" height="788" alt="before_fix" src="https://github.com/user-attachments/assets/9bcd3fb1-5186-45ea-98d9-d2bc534ca51e" />
> After:
> <img width="708" height="788" alt="after_fix" src="https://github.com/user-attachments/assets/ec6dfdf5-a515-4ef6-b70d-cc4019e00826" />
Alexander Zuev has updated the pull request incrementally with one additional commit since the last revision:
Use correct bug id in the test.
-------------
Changes:
- all: https://git.openjdk.org/jdk/pull/28210/files
- new: https://git.openjdk.org/jdk/pull/28210/files/9ae94ead..0427d6a1
Webrevs:
- full: https://webrevs.openjdk.org/?repo=jdk&pr=28210&range=01
- incr: https://webrevs.openjdk.org/?repo=jdk&pr=28210&range=00-01
Stats: 1 line in 1 file changed: 0 ins; 0 del; 1 mod
Patch: https://git.openjdk.org/jdk/pull/28210.diff
Fetch: git fetch https://git.openjdk.org/jdk.git pull/28210/head:pull/28210
PR: https://git.openjdk.org/jdk/pull/28210
More information about the client-libs-dev
mailing list