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
+8 -4
View File
@@ -2,22 +2,26 @@ import Quickshell
import QtQuick
import QtQuick.Layouts
import ZShell.Config
import ZShell
import qs.Components
import qs.Modules.Sidebar.Utils.Cards
import ZShell.Components
Item {
id: root
required property ScreenState screenState
implicitHeight: layout.implicitHeight
implicitWidth: layout.implicitWidth
implicitHeight: ZUtils.snap(layout.implicitHeight, root)
implicitWidth: ZUtils.snap(layout.implicitWidth, root)
ColumnLayout {
SnapLayout {
id: layout
anchors.fill: parent
spacing: 8
spacing: Tokens.spacing.small
orientation: Qt.Vertical
IdleInhibit {}