fix(StatusBaseInput): ensure correct text color is set for disabled
state
This commit is contained in:
parent
9f87c24a6e
commit
cf5461799f
|
@ -387,7 +387,7 @@ Item {
|
|||
focus: true
|
||||
font.pixelSize: 15
|
||||
font.family: Theme.palette.baseFont.name
|
||||
color: Theme.palette.directColor1
|
||||
color: root.enabled ? Theme.palette.directColor1 : Theme.palette.baseColor1
|
||||
wrapMode: root.multiline ? Text.WrapAtWordBoundaryOrAnywhere : TextEdit.NoWrap
|
||||
|
||||
Keys.onReturnPressed: event.accepted = !multiline && !acceptReturn
|
||||
|
|
Loading…
Reference in New Issue