Screenshot tool #83

Merged
zach merged 11 commits from screenshot-tool into main 2026-05-16 01:24:48 +02:00
Showing only changes of commit 5c5018033d - Show all commits
@@ -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 {
})) }))
} }
} }
}
} }