JFormDesigner / FlatLaf

FlatLaf - Swing Look and Feel (with Darcula/IntelliJ themes support)
https://www.formdev.com/flatlaf/
Apache License 2.0
3.42k stars 272 forks source link

Separate check/radio icon from menu item icon #874

Open ShadelessFox opened 3 months ago

ShadelessFox commented 3 months ago

This is what FlatLaf does, as of now: sMRyPWdpYJ

It doesn't play well with non-contrast icons and ones that occupy the entire region they're painted on.

This is what I managed to achieve: vNh6HiOiA5

Also, note that now the entire check/radio icon is painted instead of just the knob part. I quite like how it looks.

This behavior is disabled by default and can be enabled by setting property MenuItem.separateIconFromCheck to true.