Skip to content

Some or all JMenuBar menus might be hidden #545

@mgarin

Description

@mgarin

When JMenuBar is set as JRootPane menu bar under JDK 9+ it calls updateUI () on the JMenuBar and with WebLaF it causes corrupted menu bar layout. This leads to multiple possible visual issues depending on when JMenuBar was set as JRootPane menu bar.

There is no good workaround for this, so I will simply make layout preserve it's constraints properly whenever UI is replaced. That will also require some enhancements for the WebLaF layouts.

Metadata

Metadata

Assignees

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions