feat: initial commit for pixel-snapping components and helpers

This commit is contained in:
2026-10-29 17:34:57 +01:00
parent 9d8bde1413
commit 9cbb90f9e1
163 changed files with 2671 additions and 951 deletions
+6 -3
View File
@@ -2,6 +2,7 @@ pragma ComponentBehavior: Bound
import QtQuick
import QtQuick.Layouts
import ZShell.Components
import qs.Daemons
import ZShell.Config
import qs.Components
@@ -14,7 +15,8 @@ PageBase {
title: qsTr("Audio")
ColumnLayout {
SnapLayout {
orientation: Qt.Vertical
anchors.horizontalCenter: parent.horizontalCenter
anchors.top: parent.top
spacing: Tokens.spacing.extraSmall / 2
@@ -93,7 +95,7 @@ PageBase {
onClicked: root.sState.openSubPage(1)
}
RowLayout {
SnapLayout {
id: appLayout
anchors.fill: parent
@@ -107,7 +109,8 @@ PageBase {
text: "tune"
}
ColumnLayout {
SnapLayout {
orientation: Qt.Vertical
Layout.fillWidth: true
spacing: 0