Settings window #20
+1
-1
@@ -185,7 +185,7 @@ Variants {
|
|||||||
anchors.top: parent.top
|
anchors.top: parent.top
|
||||||
anchors.topMargin: Config.barConfig.autoHide && !visibilities.bar ? -30 : 0
|
anchors.topMargin: Config.barConfig.autoHide && !visibilities.bar ? -30 : 0
|
||||||
color: "transparent"
|
color: "transparent"
|
||||||
implicitHeight: barLoader.childrenRect.height
|
implicitHeight: barLoader.implicitHeight
|
||||||
radius: 0
|
radius: 0
|
||||||
|
|
||||||
Behavior on anchors.topMargin {
|
Behavior on anchors.topMargin {
|
||||||
|
|||||||
@@ -52,7 +52,7 @@ RowLayout {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
implicitHeight: childrenRect.height
|
implicitHeight: 34
|
||||||
|
|
||||||
CustomShortcut {
|
CustomShortcut {
|
||||||
name: "toggle-overview"
|
name: "toggle-overview"
|
||||||
|
|||||||
+20
-1
@@ -4,8 +4,10 @@ import QtQuick
|
|||||||
import QtQuick.Layouts
|
import QtQuick.Layouts
|
||||||
import Quickshell
|
import Quickshell
|
||||||
import Quickshell.Services.SystemTray
|
import Quickshell.Services.SystemTray
|
||||||
|
import qs.Components
|
||||||
|
import qs.Config
|
||||||
|
|
||||||
Row {
|
Item {
|
||||||
id: root
|
id: root
|
||||||
|
|
||||||
required property PanelWindow bar
|
required property PanelWindow bar
|
||||||
@@ -15,6 +17,21 @@ Row {
|
|||||||
|
|
||||||
anchors.bottom: parent.bottom
|
anchors.bottom: parent.bottom
|
||||||
anchors.top: parent.top
|
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
|
spacing: 0
|
||||||
|
|
||||||
Repeater {
|
Repeater {
|
||||||
@@ -37,4 +54,6 @@ Row {
|
|||||||
popouts: root.popouts
|
popouts: root.popouts
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user