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 qs.Components
@@ -16,7 +17,8 @@ PageBase {
isSubPage: true
title: qsTr("All apps")
ColumnLayout {
SnapLayout {
orientation: Qt.Vertical
anchors.horizontalCenter: parent.horizontalCenter
anchors.top: parent.top
spacing: Tokens.spacing.extraSmall / 2
@@ -45,7 +47,7 @@ PageBase {
}
}
RowLayout {
SnapLayout {
id: appRow
anchors.fill: parent
@@ -60,7 +62,8 @@ PageBase {
source: Quickshell.iconPath(appItem.modelData.icon, "image-missing")
}
ColumnLayout {
SnapLayout {
orientation: Qt.Vertical
Layout.fillWidth: true
spacing: 0