When launched on Windows, the colors of background...
# jewel
p
When launched on Windows, the colors of background, texts are wrong. I’m using
SwingBridgeTheme
. Compose version - 1.6.0-beta02, jewel version - 0.14.1. What might be the cause of this?
As for the text colour, it's really hard to know without knowing what you're doing. I just know it works if you set up the theme correctly.
https://github.com/JetBrains/jewel/blob/7a159e4ae64cc5d7bc6f1945e71eab6909f37275/s[…]jetbrains/jewel/samples/ideplugin/JewelDemoToolWindowFactory.kt In the IDE sample we don't need to do anything to get the right text colour — and you shouldn't need to. It's probably that you're overriding something you shouldn't
p
> I just know it works if you set up the theme correctly. How do I use it correctly?
SwingBridgeTheme
doesn’t have any configuration parameters. And in the latter sample you don’t use any theme at all, as it seems
The background works, thanks!
💯 1
s
> you don’t use any theme at all, as it seems The theme is set up by
addComposeTab()
and we don't need to do anything else
If you're not using that API, you should at least make sure you wrap all your Compose content in a
JewelComposePanel