I use big icons in text menus in Swing. Those icons cause a menu row to expand if an icon is set for the menu item. This leads to an inhomogeneous position of the following label and different distance between menu items if there are menu items without icons or with icons of a smaller size.
I may now:
- resize the Icons
- insert empty, transparent icons for menu items without icon
- ?
Are there other ways to set the minimum size of the menu items icon spacer for icon-less menu items in text menus?
Best practice is to add empty/transparent icons for menu items w/o icons. You can merge icons (to create sames width/height) with this method: