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
+5 -2
View File
@@ -1,5 +1,6 @@
import QtQuick
import QtQuick.Layouts
import ZShell.Components
import Quickshell.Io
import ZShell
import qs.Modules.Settings.Common
@@ -17,7 +18,8 @@ PageBase {
title: qsTr("About")
ColumnLayout {
SnapLayout {
orientation: Qt.Vertical
anchors.horizontalCenter: parent.horizontalCenter
anchors.top: parent.top
spacing: Tokens.spacing.extraSmall / 2
@@ -38,7 +40,8 @@ PageBase {
implicitHeight: hero.implicitHeight + Tokens.padding.extraLarge * 2
last: true
ColumnLayout {
SnapLayout {
orientation: Qt.Vertical
id: hero
anchors.centerIn: parent