Thomas
01/06/2021, 10:12 AMpackage com.thomaskuenneth
import androidx.compose.desktop.Window
import androidx.compose.foundation.layout.Box
import androidx.compose.foundation.layout.fillMaxSize
import androidx.compose.material.Button
import androidx.compose.material.Text
import androidx.compose.ui.Alignment
import androidx.compose.ui.Modifier
fun main() = Window {
Box(contentAlignment = Alignment.Center,
modifier = Modifier.fillMaxSize()) {
Button(onClick = {
println("Hello")
}) {
Text("Hallo")
}
}
}
Colton Idle
01/06/2021, 6:22 PMThomas
01/08/2021, 1:06 PMAlexandru Hadăr
01/08/2021, 3:14 PMThomas
01/08/2021, 3:18 PMAlexandru Hadăr
01/08/2021, 3:19 PMThomas
01/08/2021, 3:25 PMAlexandru Hadăr
01/08/2021, 3:50 PMThomas
01/08/2021, 3:56 PMAlexandru Hadăr
01/08/2021, 4:08 PMThomas
01/08/2021, 4:09 PM