Open SeeYouSunday opened 1 year ago
Is there any solution for this strange offset (at windows LAF)?
Using the Default LAF "Windows"
The default LAF is FlatLaf. Fixes for other LAF are welcome.
I've meant using the Default configuration has this strange offset...
If I use the "Metal" laf, this is fixed, but it appers other strange "spaces".
And I need to use the same laf as the picture above.
The default LAF is FlatLaf. Fixes for other LAF are welcome.
You are correct, sorry for that. Flat LAF (the actual default LAF) does not have this problem. But the LAF "Windows" does.
any workaround for this?
Apache NetBeans version
Apache NetBeans 17
What happened
Using the LAF "Windows" causes PopupMenus to have strange x-Offsets for every MenuItem. This seems to happen on every type of menu like the Toolbar-Menu of NetBeans itself but also for every JMenuItem in a JPopupMenu used in a NetBeans Platform Application.
I made a Screenshot in NetBeans highlighting the resulting gab:
This does not happen on other LAF implementations like Flat LAF.
How to reproduce
Did this work correctly in an earlier version?
No / Don't know
Operating System
Windows 10 (22H2 Build 19045.2364)
JDK
11
Apache NetBeans packaging
Apache NetBeans provided installer, Apache NetBeans binary zip, Apache NetBeans platform
Anything else
No response
Are you willing to submit a pull request?
No
Update I stated, that Windows LAF was the default LAF, but that's not correct.