https://kotlinlang.org logo
#compose-desktop
Title
# compose-desktop
h

Hamba

11/22/2023, 5:06 PM
Is there any way to style MenuBar beyond
UIManager.setLookAndFeel(UIManager.getSystemLookAndFeelClassName())
It doesnt look that great by default
k

Kirill Grouchnikov

11/22/2023, 6:41 PM
Put a screenshot of how it looks like in your app
h

Hamba

11/23/2023, 1:41 AM
image.png
k

Kirill Grouchnikov

11/23/2023, 3:47 AM
If you want a themed menu bar that looks like the rest of your app (that you cut out here so it's impossible to say) you'll need to emulate it as a normal composable with a bunch of popups, accelerators, etc
h

Hamba

11/23/2023, 3:55 AM
rest of my app isnt styled yet, but just wanted to know if the menu bar was even able to be styled before i went ahead with it. the alternative sounds like a pain so might have to stick with it, thanks
m

Messias Junior

11/27/2023, 10:08 AM
That menus are oftenly managed by the operating system's server side decorations. You can create a custom one in you compose applications but you have to problema the operating system integration too.
2 Views