Commit 27b47899 authored by Devin Lin's avatar Devin Lin 🎨
Browse files

Fix ToolButton icon colours not being white

parent 86cab3ac
Pipeline #80793 passed with stage
in 17 seconds
......@@ -85,6 +85,7 @@ Item {
implicitWidth: Kirigami.Units.iconSizes.small
implicitHeight: Kirigami.Units.iconSizes.small
source: 'arrow-down'
isMask: true
}
}
}
......
......@@ -231,6 +231,8 @@ BasePlayerControl {
icon.width: Kirigami.Units.gridUnit
icon.height: Kirigami.Units.gridUnit
icon.color: "white"
Kirigami.Theme.colorSet: Kirigami.Theme.Complementary
Kirigami.Theme.inherit: false
}
FlatButtonWithToolTip {
......@@ -245,6 +247,8 @@ BasePlayerControl {
icon.width: Kirigami.Units.gridUnit
icon.height: Kirigami.Units.gridUnit
icon.color: "white"
Kirigami.Theme.colorSet: Kirigami.Theme.Complementary
Kirigami.Theme.inherit: false
}
FlatButtonWithToolTip {
......@@ -259,6 +263,8 @@ BasePlayerControl {
icon.width: Kirigami.Units.gridUnit
icon.height: Kirigami.Units.gridUnit
icon.color: "white"
Kirigami.Theme.colorSet: Kirigami.Theme.Complementary
Kirigami.Theme.inherit: false
}
Item { implicitWidth: Math.floor(Kirigami.Units.smallSpacing / 2) }
......
......@@ -34,11 +34,6 @@ BasePlayerControl {
property color sliderRemainingColor: "grey"
property color sliderHandleColor: "white"
SystemPalette {
id: myPalette
colorGroup: SystemPalette.Active
}
ColumnLayout {
anchors.fill: parent
spacing: Kirigami.Units.largeSpacing
......@@ -54,6 +49,8 @@ BasePlayerControl {
text: i18nc("minimize player", "Minimize Player")
icon.name: "arrow-down"
icon.color: "white"
Kirigami.Theme.colorSet: Kirigami.Theme.Complementary
Kirigami.Theme.inherit: false
onClicked: toClose.restart()
}
......@@ -193,6 +190,10 @@ BasePlayerControl {
RowLayout {
Layout.preferredHeight: Kirigami.Units.gridUnit * 3
// ensure white icons
Kirigami.Theme.colorSet: Kirigami.Theme.Complementary
Kirigami.Theme.inherit: false
FlatButtonWithToolTip {
id: infoButton
Layout.maximumHeight: parent.height
......@@ -296,6 +297,10 @@ BasePlayerControl {
Layout.alignment: Qt.AlignHCenter
Layout.preferredHeight: Math.floor(Kirigami.Units.gridUnit * 2.5)
// ensure white icons
Kirigami.Theme.colorSet: Kirigami.Theme.Complementary
Kirigami.Theme.inherit: false
// volume button
MobileVolumeButton {
id: volumeButton
......
......@@ -27,6 +27,9 @@ FlatButtonWithToolTip {
text: i18nc("change player volume", "Change Volume")
icon.name: volumeButton.muted || volumeButton.slider.visualPosition == 0 ? "player-volume-muted" : "player-volume"
icon.color: "white"
Kirigami.Theme.colorSet: Kirigami.Theme.Complementary
Kirigami.Theme.inherit: false
onClicked: {
if (volumeSliderPopup.visible) {
volumeSliderPopup.close();
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment