traywidget background

This commit is contained in:
Zacharias-Brohn
2026-03-02 18:43:16 +01:00
parent 7451c52684
commit e5595d8b5d
3 changed files with 37 additions and 18 deletions
+1 -1
View File
@@ -185,7 +185,7 @@ Variants {
anchors.top: parent.top
anchors.topMargin: Config.barConfig.autoHide && !visibilities.bar ? -30 : 0
color: "transparent"
implicitHeight: barLoader.childrenRect.height
implicitHeight: barLoader.implicitHeight
radius: 0
Behavior on anchors.topMargin {
+1 -1
View File
@@ -52,7 +52,7 @@ RowLayout {
}
}
implicitHeight: childrenRect.height
implicitHeight: 34
CustomShortcut {
name: "toggle-overview"
+20 -1
View File
@@ -4,8 +4,10 @@ import QtQuick
import QtQuick.Layouts
import Quickshell
import Quickshell.Services.SystemTray
import qs.Components
import qs.Config
Row {
Item {
id: root
required property PanelWindow bar
@@ -15,6 +17,21 @@ Row {
anchors.bottom: parent.bottom
anchors.top: parent.top
implicitHeight: 34
implicitWidth: row.width + Appearance.padding.small * 2
CustomClippingRect {
anchors.left: parent.left
anchors.right: parent.right
anchors.verticalCenter: parent.verticalCenter
color: DynamicColors.tPalette.m3surfaceContainer
implicitHeight: root.parent.height - ((Appearance.padding.small - 1) * 2)
radius: height / 2
Row {
id: row
anchors.centerIn: parent
spacing: 0
Repeater {
@@ -37,4 +54,6 @@ Row {
popouts: root.popouts
}
}
}
}
}