From 8c24b83ecf52a0f376334f63cdd01490cbfa4510 Mon Sep 17 00:00:00 2001 From: dankito Date: Fri, 4 Oct 2024 09:35:27 +0200 Subject: [PATCH] Raised spacing between balance and settings icon and reduces padding to right margin --- .../net/codinux/banking/ui/appskeleton/SideMenuContent.kt | 2 +- .../net/codinux/banking/ui/composables/NavigationMenuItem.kt | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/composeApp/src/commonMain/kotlin/net/codinux/banking/ui/appskeleton/SideMenuContent.kt b/composeApp/src/commonMain/kotlin/net/codinux/banking/ui/appskeleton/SideMenuContent.kt index 5d0a16b..e55ae20 100644 --- a/composeApp/src/commonMain/kotlin/net/codinux/banking/ui/appskeleton/SideMenuContent.kt +++ b/composeApp/src/commonMain/kotlin/net/codinux/banking/ui/appskeleton/SideMenuContent.kt @@ -75,7 +75,7 @@ fun SideMenuContent() { ItemDivider(color = Colors.DrawerDivider) - Column(Modifier.padding(horizontal = 16.dp, vertical = 24.dp)) { + Column(Modifier.padding(vertical = 24.dp).padding(start = 16.dp, end = 4.dp)) { Column(Modifier.height(ItemHeight), verticalArrangement = Arrangement.Center) { Text("Konten", color = textColor) } diff --git a/composeApp/src/commonMain/kotlin/net/codinux/banking/ui/composables/NavigationMenuItem.kt b/composeApp/src/commonMain/kotlin/net/codinux/banking/ui/composables/NavigationMenuItem.kt index 677367b..5a52ef9 100644 --- a/composeApp/src/commonMain/kotlin/net/codinux/banking/ui/composables/NavigationMenuItem.kt +++ b/composeApp/src/commonMain/kotlin/net/codinux/banking/ui/composables/NavigationMenuItem.kt @@ -104,7 +104,7 @@ fun NavigationMenuItem( Text( formatUtil.formatAmount(balance, calculator.getTransactionsCurrency(emptyList())), color = if (showColoredAmounts) formatUtil.getColorForAmount(balance, showColoredAmounts) else textColor, - modifier = Modifier.padding(start = 4.dp) + modifier = Modifier.padding(start = 8.dp) ) }