Settings window #20
+1
-1
@@ -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 {
|
||||
|
||||
@@ -52,7 +52,7 @@ RowLayout {
|
||||
}
|
||||
}
|
||||
|
||||
implicitHeight: childrenRect.height
|
||||
implicitHeight: 34
|
||||
|
||||
CustomShortcut {
|
||||
name: "toggle-overview"
|
||||
|
||||
+20
-1
@@ -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
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user