PC3: fix color of TabButton label

For some currently unknown reason the color property does not have
the binding as set in PC3's Label.
So explicitly setting it, like also done for CheckBox, Switch, RadioButton
This commit is contained in:
Friedrich W. H. Kossebau 2020-10-05 15:19:46 +02:00
parent af5e487a45
commit 88c916ff59

View File

@ -56,6 +56,7 @@ T.TabButton {
visible: text.length > 0 && control.display !== T.AbstractButton.IconOnly
text: control.Kirigami.MnemonicData.richTextLabel
font: control.font
color: PlasmaCore.ColorScope.textColor
opacity: enabled || control.highlighted || control.checked ? 1 : 0.4
horizontalAlignment: Text.AlignHCenter
verticalAlignment: Text.AlignVCenter