Configured desktop window size
This commit is contained in:
parent
9d232dfb43
commit
1d48e617df
|
@ -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()
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue