-
-
Notifications
You must be signed in to change notification settings - Fork 28
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
JMenu item spacing #35
Comments
Can you try if this bug exists in the new jar demo? Thanks |
Hi @srcarter3, This bus was fixed whit new jar? Good day |
I think the problem is with the icon because now they have the same borders with the normal items, what do you say if I try to increase the clearance between the normal items so as to put them equal? |
I'm OK with that. The goal is to look "same" for all items, so let's try what you suggest. |
I will work on it, thanks for the help |
- Fix issue #35 - fix issue #23 - update demo swing - Fix issue atarw/material-ui-swing#81 - Fix issue atarw/material-ui-swing#80 - Fix issue atarw/material-ui-swing#77
- Fixed issue #35 - Fixed issue #23 - update demo swing - Fixed issue atarw/material-ui-swing#81 - Fixed issue atarw/material-ui-swing#80 - Fixed issue atarw/material-ui-swing#77 -Adding demo and new color propose in this issue atarw/material-ui-swing#70
I closing this issue because was fixed but I waiting a feedback |
@vincenzopalazzo, I am using the latest jar which includes the fix for JMenu items spacing. But I am not seeing the change, i.e. the spacing between regular items is noticeably smaller than between checkbox items. Attached is the screenshot of a drop-down menu taken when using the latest jar: |
Hi @zanderson9,
If yes, these edges must be the same. If you start the demo you can see that the borders and menu items are greater than those that appear on your screen. Let's take a test, if you haven't changed the things in the UIDefault, try adding this border
if you change the effect I'll try to see if I find the problem of the difference between the demo and your project |
Yes, now with the addition of the borders, I see the even spacing. Yeah! |
Are was get the Older setting for border in your project or the bug in to my project? |
I added Border settings, BorderFactory.createEmptyBorder(5, 0, 5, 0), explicitly into our project for each menu item: regular item, cgheckbox item and radiobutton item. |
The same configuration as the project, I close the issue because it was solved in the 1.0 beta. Thanks for your help @zanderson9 |
It would be nice if all jmenu items were spaced evenly.

Currently, JCheckBoxMenuItems have more space than other items.
The text was updated successfully, but these errors were encountered: