Merge branch 'screenshot-tool' of git.zach-dev.cc:zach/z-bar-qt into screenshot-tool

This commit is contained in:
2026-05-16 00:15:10 +02:00
@@ -1,3 +1,5 @@
pragma ComponentBehavior: Bound
import Quickshell import Quickshell
import QtQuick.Layouts import QtQuick.Layouts
import QtQuick import QtQuick
@@ -6,9 +8,14 @@ import qs.Helpers
import qs.Components import qs.Components
import qs.Modules.Settings.Controls import qs.Modules.Settings.Controls
ColumnLayout { CustomClippingRect {
id: root id: root
radius: Appearance.rounding.normal - Appearance.padding.smaller
ColumnLayout {
anchors.fill: parent
RowLayout { RowLayout {
Layout.fillWidth: true Layout.fillWidth: true
Layout.margins: Appearance.padding.large Layout.margins: Appearance.padding.large
@@ -28,14 +35,8 @@ ColumnLayout {
RowLayout { RowLayout {
id: row id: row
// Layout.fillHeight: true
Layout.fillWidth: true Layout.fillWidth: true
// anchors.left: parent.left
// anchors.margins: Appearance.padding.small
// anchors.right: parent.right
// anchors.verticalCenter: parent.verticalCenter
CustomText { CustomText {
id: text id: text
@@ -95,8 +96,6 @@ ColumnLayout {
required property var modelData required property var modelData
readonly property list<string> sections: modelData.update.split(" ") readonly property list<string> sections: modelData.update.split(" ")
// anchors.left: parent.left
// anchors.right: parent.right
color: DynamicColors.tPalette.m3surfaceContainer color: DynamicColors.tPalette.m3surfaceContainer
implicitHeight: view.itemHeight implicitHeight: view.itemHeight
implicitWidth: parent.width implicitWidth: parent.width
@@ -194,4 +193,5 @@ ColumnLayout {
})) }))
} }
} }
}
} }