Set selection color of textfields

CURA-8947
This commit is contained in:
Jaime van Kessel 2022-02-17 14:39:11 +01:00
parent b9feac9816
commit c528616d12
2 changed files with 3 additions and 1 deletions

View file

@ -153,8 +153,9 @@ SettingItem
}
color: !enabled ? UM.Theme.getColor("setting_control_disabled_text") : UM.Theme.getColor("setting_control_text")
selectedTextColor: UM.Theme.getColor("setting_control_text")
font: UM.Theme.getFont("default")
selectionColor: UM.Theme.getColor("text_selection")
selectByMouse: true
maximumLength: (definition.type == "str" || definition.type == "[int]") ? -1 : 10