File tree Expand file tree Collapse file tree 3 files changed +3
-0
lines changed
app/src/processing/app/ui/preferences Expand file tree Collapse file tree 3 files changed +3
-0
lines changed Original file line number Diff line number Diff line change @@ -46,6 +46,7 @@ class General {
4646 modifier = Modifier .fillMaxWidth(),
4747 label = { Text (locale[" preferences.sketchbook_location" ]) },
4848 value = preference ? : " " ,
49+ singleLine = true ,
4950 onValueChange = {
5051 updatePreference(it)
5152 },
Original file line number Diff line number Diff line change @@ -74,6 +74,7 @@ class Other {
7474 OutlinedTextField (
7575 modifier = Modifier .widthIn(max = 300 .dp),
7676 value = preference ? : " " ,
77+ singleLine = true ,
7778 onValueChange = {
7879 updatePreference(it)
7980 }
Original file line number Diff line number Diff line change @@ -118,6 +118,7 @@ class Sketches {
118118 enabled = LocalPreferences .current[" run.options.memory" ]?.toBoolean() ? : false ,
119119 modifier = Modifier .widthIn(max = 300 .dp),
120120 value = preference ? : " " ,
121+ singleLine = true ,
121122 trailingIcon = { Text (" MB" ) },
122123 onValueChange = {
123124 setPreference(it)
You can’t perform that action at this time.
0 commit comments