Update ReadOnlyTextArea import

Update ReadOnlyTextArea style (It's not really read only 🤔)

CURA-8979
This commit is contained in:
j.delarago 2022-03-15 14:50:02 +01:00
parent f9814520f7
commit 59b7d20f75
2 changed files with 4 additions and 9 deletions

View file

@ -23,13 +23,10 @@ ScrollView
enabled: !base.readOnly
selectByMouse: true
background: Rectangle
{
radius: UM.Theme.getSize("setting_control_radius").width
color: textArea.enabled ? UM.Theme.getColor("setting_control") : UM.Theme.getColor("setting_control_disabled")
}
background: UM.UnderlineBackground { id: backgroundRectangle }
color: UM.Theme.getColor("text")
selectionColor: UM.Theme.getColor("text_selection")
font: UM.Theme.getFont("default")
Keys.onReturnPressed: base.editingFinished()