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 Quickshell
import Quickshell.Widgets
import ZShell
@@ -16,7 +17,8 @@ PageBase {
title: qsTr("Apps")
ColumnLayout {
SnapLayout {
orientation: Qt.Vertical
anchors.horizontalCenter: parent.horizontalCenter
anchors.top: parent.top
spacing: Tokens.spacing.extraSmall / 2
@@ -134,7 +136,7 @@ PageBase {
row.selected(modelData);
}
RowLayout {
SnapLayout {
id: itemLayout
anchors.fill: parent
@@ -147,7 +149,8 @@ PageBase {
source: Quickshell.iconPath(appItem.modelData.icon, "image-missing")
}
ColumnLayout {
SnapLayout {
orientation: Qt.Vertical
Layout.fillWidth: true
spacing: 0