From e06e84e6ff9776e6fa205659d27049c1d026fb54 Mon Sep 17 00:00:00 2001 From: dankito Date: Thu, 5 Sep 2024 02:29:13 +0200 Subject: [PATCH] Added padding also to Divider --- .../net/codinux/banking/ui/forms/AutocompleteTextField.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/composeApp/src/commonMain/kotlin/net/codinux/banking/ui/forms/AutocompleteTextField.kt b/composeApp/src/commonMain/kotlin/net/codinux/banking/ui/forms/AutocompleteTextField.kt index e439d7d..5f857f4 100644 --- a/composeApp/src/commonMain/kotlin/net/codinux/banking/ui/forms/AutocompleteTextField.kt +++ b/composeApp/src/commonMain/kotlin/net/codinux/banking/ui/forms/AutocompleteTextField.kt @@ -123,7 +123,7 @@ fun AutocompleteTextField( } if (showDividersBetweenItems && index < suggestions.size - 1) { - Divider(color = Colors.Zinc200, thickness = 1.dp) + Divider(color = Colors.Zinc200, thickness = 1.dp, modifier = Modifier.padding(horizontal = 8.dp)) } } }