mirror of
https://invent.kde.org/marcoa/shift-shell.git
synced 2026-04-26 14:23:09 +00:00
Fix top panel on dark themes
Use PlasmaCore.IconItem rather than Kirigami.Icon
This commit is contained in:
parent
60f48d729c
commit
9a0d71fcf1
2 changed files with 4 additions and 8 deletions
|
|
@ -66,8 +66,7 @@ Item {
|
|||
anchors.right: parent.right
|
||||
anchors.top: parent.top
|
||||
|
||||
Kirigami.Icon {
|
||||
color: PlasmaCore.Theme.textColor
|
||||
PlasmaCore.IconItem {
|
||||
Layout.alignment: Qt.AlignVCenter
|
||||
Layout.leftMargin: PlasmaCore.Units.smallSpacing
|
||||
Layout.preferredWidth: Math.round(PlasmaCore.Units.gridUnit * 1.75)
|
||||
|
|
@ -84,9 +83,7 @@ Item {
|
|||
to: maximumScreenBrightness
|
||||
}
|
||||
|
||||
Kirigami.Icon {
|
||||
color: PlasmaCore.Theme.textColor
|
||||
isMask: true
|
||||
PlasmaCore.IconItem {
|
||||
Layout.alignment: Qt.AlignVCenter
|
||||
Layout.rightMargin: PlasmaCore.Units.smallSpacing
|
||||
Layout.preferredWidth: Math.round(PlasmaCore.Units.gridUnit * 1.75)
|
||||
|
|
|
|||
|
|
@ -48,9 +48,8 @@ ColumnLayout {
|
|||
}
|
||||
}
|
||||
|
||||
Kirigami.Icon {
|
||||
PlasmaCore.IconItem {
|
||||
id: icon
|
||||
color: PlasmaCore.Theme.textColor
|
||||
anchors.centerIn: parent
|
||||
implicitWidth: Math.round(parent.width * 0.6)
|
||||
implicitHeight: width
|
||||
|
|
|
|||
Loading…
Reference in a new issue