I am using JBR but still can't able to see the new...
# jewel
m
I am using JBR but still can't able to see the new decorated window
Copy code
fun main() {
    application {
        val textStyle = JewelTheme.createDefaultTextStyle()
        val editorStyle = JewelTheme.createEditorTextStyle()
        IntUiTheme(
            theme = JewelTheme.lightThemeDefinition(defaultTextStyle = textStyle, editorTextStyle = editorStyle),
            styling =
                ComponentStyling.default()
                    .decoratedWindow(
                        titleBarStyle = TitleBarStyle.lightWithLightHeader()
                    )
        ) {
            DecoratedWindow(
                onCloseRequest = { exitApplication() },
                title = "Jewel standalone sample",
                content = {
                    Text("Hello World")
                },
            )
        }
    }
}
Anything wrong with this? App runs without any exception but the window is just normal simple window
b
Within the
DecoratedWindow
, you can call the
TitleBar
composable to customize everything
yes black 1
❤️ 1
s
Correct 🙂
We're planning to write a bunch of documentation and put it somewhere (possibly on the IJP SDK webhelp site) but it won't happen soon
❤️ 2