grey out when disabled

This commit is contained in:
Marco Martin 2012-08-02 12:59:56 +02:00
parent 8d4c76ac1f
commit dcfe086014

View File

@ -93,6 +93,7 @@ Item {
implicitWidth: label.paintedWidth + (internal.portrait ? 0 : (iconSource != null ? 16 : 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
Connections {
target: root