mirror of
https://github.com/Steffo99/twom.git
synced 2024-11-25 09:34:25 +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)
|
.height(60.dp)
|
||||||
.padding(start = 10.dp)
|
.padding(start = 10.dp)
|
||||||
.fillMaxWidth(),
|
.fillMaxWidth(),
|
||||||
|
singleLine = true,
|
||||||
label = {
|
label = {
|
||||||
Text(stringResource(R.string.create_name_label))
|
Text(stringResource(R.string.create_name_label))
|
||||||
},
|
},
|
||||||
|
|
|
@ -58,6 +58,7 @@ fun LoginActivityContent(
|
||||||
Row(TwoMPadding.base) {
|
Row(TwoMPadding.base) {
|
||||||
TextField(
|
TextField(
|
||||||
modifier = Modifier.fillMaxWidth(),
|
modifier = Modifier.fillMaxWidth(),
|
||||||
|
singleLine = true,
|
||||||
value = username,
|
value = username,
|
||||||
onValueChange = { username = it },
|
onValueChange = { username = it },
|
||||||
label = {
|
label = {
|
||||||
|
@ -74,6 +75,7 @@ fun LoginActivityContent(
|
||||||
Row(TwoMPadding.base) {
|
Row(TwoMPadding.base) {
|
||||||
PasswordField(
|
PasswordField(
|
||||||
modifier = Modifier.fillMaxWidth(),
|
modifier = Modifier.fillMaxWidth(),
|
||||||
|
singleLine = true,
|
||||||
value = password,
|
value = password,
|
||||||
onValueChange = { password = it },
|
onValueChange = { password = it },
|
||||||
label = {
|
label = {
|
||||||
|
|
Loading…
Reference in a new issue