1
Fork 0
mirror of https://github.com/Steffo99/twom.git synced 2024-11-21 23:54:26 +00:00

Make various input fields single line

This commit is contained in:
Steffo 2023-12-07 03:41:37 +01:00
parent 61d9921693
commit 26551a99cd
Signed by: steffo
GPG key ID: 2A24051445686895
2 changed files with 3 additions and 0 deletions

View file

@ -59,6 +59,7 @@ fun CreateActivityContent(
.height(60.dp)
.padding(start = 10.dp)
.fillMaxWidth(),
singleLine = true,
label = {
Text(stringResource(R.string.create_name_label))
},

View file

@ -58,6 +58,7 @@ fun LoginActivityContent(
Row(TwoMPadding.base) {
TextField(
modifier = Modifier.fillMaxWidth(),
singleLine = true,
value = username,
onValueChange = { username = it },
label = {
@ -74,6 +75,7 @@ fun LoginActivityContent(
Row(TwoMPadding.base) {
PasswordField(
modifier = Modifier.fillMaxWidth(),
singleLine = true,
value = password,
onValueChange = { password = it },
label = {