From e8f7f122a039603e23c5ba98dd94e04b7e7493ea Mon Sep 17 00:00:00 2001 From: Jean-Luc Makiola Date: Sat, 8 Aug 2026 22:11:45 +0200 Subject: [PATCH] Match the Continue button to the option rows' width (#163) --- .../de/jeanlucmakiola/calendula/ui/onboarding/ViewStep.kt | 7 ++++++- floret-kit | 2 +- 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/app/src/main/java/de/jeanlucmakiola/calendula/ui/onboarding/ViewStep.kt b/app/src/main/java/de/jeanlucmakiola/calendula/ui/onboarding/ViewStep.kt index 371766f..4fd42cd 100644 --- a/app/src/main/java/de/jeanlucmakiola/calendula/ui/onboarding/ViewStep.kt +++ b/app/src/main/java/de/jeanlucmakiola/calendula/ui/onboarding/ViewStep.kt @@ -178,7 +178,12 @@ private fun StepPickerScaffold( actions = { Button( onClick = onFinished, - modifier = Modifier.fillMaxWidth().height(56.dp), + // The step is full-bleed, so the button takes the grouped rows' + // own inset and ends up as wide as the options above it. + modifier = Modifier + .padding(horizontal = GroupedListInset) + .fillMaxWidth() + .height(56.dp), ) { Text( text = stringResource(R.string.onboarding_view_continue_button), diff --git a/floret-kit b/floret-kit index 63e27f2..e5a3d1e 160000 --- a/floret-kit +++ b/floret-kit @@ -1 +1 @@ -Subproject commit 63e27f290d27d9f6475bcd83ea39e0b4e339beb3 +Subproject commit e5a3d1ec536012cd8e2028468deee2ce12dcb34f