File tree Expand file tree Collapse file tree 1 file changed +5
-5
lines changed
ui/src/main/java/io/snabble/sdk/ui/payment/payone/sepa/form/ui/widget Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -3,7 +3,6 @@ package io.snabble.sdk.ui.payment.payone.sepa.form.ui.widget
33import androidx.compose.foundation.layout.Row
44import androidx.compose.foundation.layout.fillMaxWidth
55import androidx.compose.foundation.layout.padding
6- import androidx.compose.foundation.layout.wrapContentSize
76import androidx.compose.foundation.text.KeyboardActions
87import androidx.compose.foundation.text.KeyboardOptions
98import androidx.compose.material3.ExperimentalMaterial3Api
@@ -35,9 +34,7 @@ fun IbanFieldWidget(
3534 verticalAlignment = Alignment .CenterVertically
3635 ) {
3736 OutlinedTextField (
38- modifier = Modifier
39- .wrapContentSize()
40- .weight(1f ),
37+ modifier = Modifier .weight(1f ),
4138 value = " DE" ,
4239 onValueChange = {},
4340 label = {},
@@ -47,10 +44,13 @@ fun IbanFieldWidget(
4744 colors = TextFieldDefaults .outlinedTextFieldColors(
4845 disabledLabelColor = MaterialTheme .colorScheme.onSurface,
4946 disabledTextColor = MaterialTheme .colorScheme.onSurface,
50- )
47+ ),
48+ singleLine = true ,
49+ maxLines = 1 ,
5150 )
5251 OutlinedTextField (
5352 modifier = Modifier
53+ .weight(5f )
5454 .padding(start = 8 .dp),
5555 value = iban,
5656 onValueChange = { input ->
You can’t perform that action at this time.
0 commit comments