Arrow icon of JMenuItem in JMenu which is used to invoke the submenu overlaps 
with the menutext if the text is long.

Fix is made to add a gap for arrow icon rect too similar to menu text and 
accelerator rects

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

Commit messages:
 - 8374506: Incorrect positioning of arrow icon in parent JMenu in Windows L&F
 - 8374506: Incorrect positioning of arrow icon in parent JMenu in Windows L&F
 - 8374506: Incorrect positioning of arrow icon in parent JMenu in Windows L&F

Changes: https://git.openjdk.org/jdk/pull/29375/files
  Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=29375&range=00
  Issue: https://bugs.openjdk.org/browse/JDK-8374506
  Stats: 102 lines in 2 files changed: 101 ins; 0 del; 1 mod
  Patch: https://git.openjdk.org/jdk/pull/29375.diff
  Fetch: git fetch https://git.openjdk.org/jdk.git pull/29375/head:pull/29375

PR: https://git.openjdk.org/jdk/pull/29375

Reply via email to