mirror of
https://github.com/processing/processing4.git
synced 2026-06-16 04:26:26 +02:00
Fix tabbing issue with textfields (#1367)
This commit is contained in:
@@ -46,6 +46,7 @@ class General {
|
||||
modifier = Modifier.fillMaxWidth(),
|
||||
label = { Text(locale["preferences.sketchbook_location"]) },
|
||||
value = preference ?: "",
|
||||
singleLine = true,
|
||||
onValueChange = {
|
||||
updatePreference(it)
|
||||
},
|
||||
|
||||
@@ -74,6 +74,7 @@ class Other {
|
||||
OutlinedTextField(
|
||||
modifier = Modifier.widthIn(max = 300.dp),
|
||||
value = preference ?: "",
|
||||
singleLine = true,
|
||||
onValueChange = {
|
||||
updatePreference(it)
|
||||
}
|
||||
|
||||
@@ -118,6 +118,7 @@ class Sketches {
|
||||
enabled = LocalPreferences.current["run.options.memory"]?.toBoolean() ?: false,
|
||||
modifier = Modifier.widthIn(max = 300.dp),
|
||||
value = preference ?: "",
|
||||
singleLine = true,
|
||||
trailingIcon = { Text("MB") },
|
||||
onValueChange = {
|
||||
setPreference(it)
|
||||
|
||||
Reference in New Issue
Block a user