RFR: 8348760: RadioButton is not shown if JRadioButtonMenuItem is rendered with ImageIcon in WindowsLookAndFeel [v6]

Prasanta Sadhukhan psadhukhan at openjdk.org
Wed Feb 5 02:36:20 UTC 2025


On Tue, 4 Feb 2025 12:48:10 GMT, Abhishek Kumar <abhiscxk at openjdk.org> wrote:

> > I believe this is likely how layout is calculated.
> 
> I just wanted to know "why 3 is chosen as a magic number ?". Actually the spacing with "4 * OFFSET" looks better between radio, icon and text of menu item (on win 11).

I guess this is now taken care of in latest PR..

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

PR Comment: https://git.openjdk.org/jdk/pull/23324#issuecomment-2635568007


More information about the client-libs-dev mailing list