From f39a0e3e84d6483b4ab60a60043c0fc751288707 Mon Sep 17 00:00:00 2001 From: shabinder Date: Wed, 12 Oct 2022 03:28:48 +0530 Subject: [PATCH] Full Width Text Fields. --- .../common/uikit/screens/SpotiFlyerPreferenceUi.kt | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/common/compose/src/commonMain/kotlin/com/shabinder/common/uikit/screens/SpotiFlyerPreferenceUi.kt b/common/compose/src/commonMain/kotlin/com/shabinder/common/uikit/screens/SpotiFlyerPreferenceUi.kt index 22fce210..41db99a3 100644 --- a/common/compose/src/commonMain/kotlin/com/shabinder/common/uikit/screens/SpotiFlyerPreferenceUi.kt +++ b/common/compose/src/commonMain/kotlin/com/shabinder/common/uikit/screens/SpotiFlyerPreferenceUi.kt @@ -166,14 +166,16 @@ fun SpotiFlyerPreferenceContent(component: SpotiFlyerPreference) { TextField( value = clientID, onValueChange = { clientID = it.trim() }, - label = { Text(Strings.clientID()) } + label = { Text(Strings.clientID()) }, + modifier = Modifier.fillMaxWidth() ) Spacer(Modifier.padding(vertical = 4.dp)) TextField( value = clientSecret, onValueChange = { clientSecret = it.trim() }, - label = { Text(Strings.clientSecret()) } + label = { Text(Strings.clientSecret()) }, + modifier = Modifier.fillMaxWidth() ) Spacer(Modifier.padding(vertical = 4.dp))