feat: initial commit for pixel-snapping components and helpers
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user