mirror of
https://invent.kde.org/marcoa/shift-shell.git
synced 2026-08-04 02:34:45 +00:00
try with normal colorgroup for applets
This commit is contained in:
parent
3906520241
commit
53706c6fd4
1 changed files with 17 additions and 8 deletions
|
|
@ -257,6 +257,7 @@ MouseEventListener {
|
||||||
}
|
}
|
||||||
PlasmaCore.ColorScope {
|
PlasmaCore.ColorScope {
|
||||||
anchors.fill: parent
|
anchors.fill: parent
|
||||||
|
//TODO: decide what color we want applets
|
||||||
colorGroup: PlasmaCore.Theme.ComplementaryColorGroup
|
colorGroup: PlasmaCore.Theme.ComplementaryColorGroup
|
||||||
|
|
||||||
Rectangle {
|
Rectangle {
|
||||||
|
|
@ -431,20 +432,28 @@ MouseEventListener {
|
||||||
source: "go-up"
|
source: "go-up"
|
||||||
width: units.iconSizes.huge
|
width: units.iconSizes.huge
|
||||||
height: width
|
height: width
|
||||||
|
colorGroup: PlasmaCore.Theme.ComplementaryColorGroup
|
||||||
anchors {
|
anchors {
|
||||||
horizontalCenter: parent.horizontalCenter
|
horizontalCenter: parent.horizontalCenter
|
||||||
bottom: parent.bottom
|
bottom: parent.bottom
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
ColumnLayout {
|
PlasmaCore.ColorScope {
|
||||||
id: appletsLayout
|
//TODO: decide what color we want applets
|
||||||
Item {
|
colorGroup: PlasmaCore.Theme.NormalColorGroup
|
||||||
id: spacer
|
Layout.fillWidth: true
|
||||||
Layout.fillWidth: true
|
Layout.minimumHeight: appletsLayout.Layout.minimumHeight
|
||||||
Layout.fillHeight: true
|
Layout.maximumHeight: appletsLayout.Layout.maximumHeight
|
||||||
Layout.minimumHeight: plasmoid.applets.length % 2 == 0 ? 0 : (root.height - margin)/2
|
ColumnLayout {
|
||||||
Layout.maximumHeight: Layout.minimumHeight
|
id: appletsLayout
|
||||||
|
Item {
|
||||||
|
id: spacer
|
||||||
|
Layout.fillWidth: true
|
||||||
|
Layout.fillHeight: true
|
||||||
|
Layout.minimumHeight: plasmoid.applets.length % 2 == 0 ? 0 : (root.height - margin)/2
|
||||||
|
Layout.maximumHeight: Layout.minimumHeight
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
Item {
|
Item {
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue