Plasma components: restore lost color control of TabButton label

Accidentally removed in 3de1c2462e
This commit is contained in:
Friedrich W. H. Kossebau 2020-06-19 15:42:45 +02:00
parent e1475e0907
commit fe73c236db

View File

@ -70,6 +70,7 @@ T.TabButton {
text: control.Kirigami.MnemonicData.richTextLabel
font: control.font
opacity: enabled || control.highlighted || control.checked ? 1 : 0.4
color: control.activeFocus && !control.down ? theme.highlightedTextColor : theme.buttonTextColor
horizontalAlignment: Text.AlignHCenter
verticalAlignment: Text.AlignVCenter
elide: Text.ElideRight