From 1cc688cd18cb7aca456f92e8f8afd1d00251126c Mon Sep 17 00:00:00 2001 From: cemal Date: Mon, 18 Sep 2023 16:30:30 +0200 Subject: [PATCH] Centered main page --- src/main/kotlin/Main.kt | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/main/kotlin/Main.kt b/src/main/kotlin/Main.kt index 9ae618b..be22172 100644 --- a/src/main/kotlin/Main.kt +++ b/src/main/kotlin/Main.kt @@ -42,9 +42,12 @@ fun AccueilPage( onExporterClick: () -> Unit ) { Column( - modifier = Modifier.padding(16.dp), + modifier = Modifier + .fillMaxSize() // Fills the maximum available width + .padding(16.dp), verticalArrangement = Arrangement.spacedBy(8.dp), horizontalAlignment = Alignment.CenterHorizontally + ) { Text(text = "Glossaire", style = MaterialTheme.typography.h5)