On Tue, 17 Feb 2026 10:45:27 GMT, Daishi Tabata <[email protected]> wrote:

> However, after this change, for menu items without radio buttons or 
> checkboxes, the red squares and the text are misaligned compared to the 
> others.
> Is this an expected behavioral change introduced by this fix?

This was the question I had, but I didn't have time yesterday to run additional 
tests.

I strongly believe it shouldn't be like this. The icons have to remain aligned.

There's one more case: What if there are `JRadioButtonMenuItem` or 
`JCheckBoxMenuItem` (or both) that don't have any icons? I think the check mark 
and bullets should be rendered as they were before 
[JDK-8348760](https://bugs.openjdk.org/browse/JDK-8348760), that is the icons 
of other menu items and the check mark and bullets should remain in one column.

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

PR Comment: https://git.openjdk.org/jdk/pull/29730#issuecomment-3914177391

Reply via email to