Mehdi J
04/18/2025, 6:20 PMfun 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 windowBenni H.
04/19/2025, 11:02 AMDecoratedWindow
, you can call the TitleBar
composable to customize everythingseb
04/19/2025, 11:11 AMseb
04/19/2025, 11:12 AM