From dcfe086014e6073af5da38e570ce8e4e128c1fba Mon Sep 17 00:00:00 2001 From: Marco Martin Date: Thu, 2 Aug 2012 12:59:56 +0200 Subject: [PATCH] grey out when disabled --- declarativeimports/plasmacomponents/qml/TabButton.qml | 1 + 1 file changed, 1 insertion(+) diff --git a/declarativeimports/plasmacomponents/qml/TabButton.qml b/declarativeimports/plasmacomponents/qml/TabButton.qml index 5e635621b..c58f85569 100644 --- a/declarativeimports/plasmacomponents/qml/TabButton.qml +++ b/declarativeimports/plasmacomponents/qml/TabButton.qml @@ -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