grey out when disabled
This commit is contained in:
parent
8d4c76ac1f
commit
dcfe086014
@ -93,6 +93,7 @@ Item {
|
|||||||
implicitWidth: label.paintedWidth + (internal.portrait ? 0 : (iconSource != null ? 16 : 0))
|
implicitWidth: label.paintedWidth + (internal.portrait ? 0 : (iconSource != null ? 16 : 0))
|
||||||
implicitHeight: label.paintedHeight + (internal.portrait ? (iconSource != null ? 16 : 0) : 0)
|
implicitHeight: label.paintedHeight + (internal.portrait ? (iconSource != null ? 16 : 0) : 0)
|
||||||
|
|
||||||
|
opacity: enabled ? 1 : 0.6
|
||||||
//long notation to not make it overwritten by implementations
|
//long notation to not make it overwritten by implementations
|
||||||
Connections {
|
Connections {
|
||||||
target: root
|
target: root
|
||||||
|
Loading…
Reference in New Issue
Block a user