From a88ddbdd1621b36946a0fc2b4363c92dd16f4204 Mon Sep 17 00:00:00 2001 From: dankito Date: Fri, 20 Sep 2024 12:13:41 +0200 Subject: [PATCH] Fixed centering FormListItem text --- .../kotlin/net/codinux/banking/ui/forms/FormListItem.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/composeApp/src/commonMain/kotlin/net/codinux/banking/ui/forms/FormListItem.kt b/composeApp/src/commonMain/kotlin/net/codinux/banking/ui/forms/FormListItem.kt index 4b234b9..a0871f4 100644 --- a/composeApp/src/commonMain/kotlin/net/codinux/banking/ui/forms/FormListItem.kt +++ b/composeApp/src/commonMain/kotlin/net/codinux/banking/ui/forms/FormListItem.kt @@ -50,7 +50,7 @@ private fun FormListItemImpl( } } - Text(label, color = Colors.FormListItemTextColor, fontSize = 16.sp, maxLines = 1, overflow = TextOverflow.Ellipsis, modifier = Modifier.fillMaxHeight()) + Text(label, color = Colors.FormListItemTextColor, fontSize = 16.sp, maxLines = 1, overflow = TextOverflow.Ellipsis) } } \ No newline at end of file