Configured desktop window size

This commit is contained in:
dankito 2024-08-26 18:33:24 +02:00
parent 9d232dfb43
commit 1d48e617df
1 changed files with 5 additions and 2 deletions

View File

@ -1,12 +1,15 @@
package net.codinux.banking.ui package net.codinux.banking.ui
import androidx.compose.ui.window.Window import androidx.compose.ui.Alignment
import androidx.compose.ui.window.application import androidx.compose.ui.unit.DpSize
import androidx.compose.ui.unit.dp
import androidx.compose.ui.window.*
fun main() = application { fun main() = application {
Window( Window(
onCloseRequest = ::exitApplication, onCloseRequest = ::exitApplication,
title = "Bankmeister", title = "Bankmeister",
state = WindowState(position = WindowPosition(Alignment.Center), size = DpSize(900.dp, 800.dp)),
) { ) {
App() App()
} }