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:
parent
61d9921693
commit
26551a99cd
2 changed files with 3 additions and 0 deletions
|
@ -59,6 +59,7 @@ fun CreateActivityContent(
|
|||
.height(60.dp)
|
||||
.padding(start = 10.dp)
|
||||
.fillMaxWidth(),
|
||||
singleLine = true,
|
||||
label = {
|
||||
Text(stringResource(R.string.create_name_label))
|
||||
},
|
||||
|
|
|
@ -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 = {
|
||||
|
|
Loading…
Reference in a new issue