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
+3 -2
View File
@@ -4,6 +4,7 @@ import Quickshell
import QtQuick
import QtQuick.Controls
import QtQuick.Layouts
import ZShell.Components
import qs.Components
import qs.Helpers
import ZShell.Config
@@ -110,7 +111,7 @@ Item {
Repeater {
model: lineRow.modelData.text.split("\t").slice(1)
RowLayout {
SnapLayout {
height: lineText.height
width: lineText.height + Tokens.spacing.extraSmall
@@ -224,7 +225,7 @@ Item {
}
}
RowLayout {
SnapLayout {
anchors.fill: parent
spacing: Tokens.spacing.small