feat: initial commit for pixel-snapping components and helpers
This commit is contained in:
+6
-3
@@ -3,11 +3,12 @@ pragma ComponentBehavior: Bound
|
||||
import QtQuick
|
||||
import QtQuick.Layouts
|
||||
import ZShell.Config
|
||||
import ZShell.Components
|
||||
import qs.Components
|
||||
import qs.Helpers
|
||||
import qs.Services
|
||||
|
||||
ColumnLayout {
|
||||
SnapLayout {
|
||||
id: root
|
||||
|
||||
readonly property real centerScale: Math.min(1, screenHeight / 1440)
|
||||
@@ -18,9 +19,11 @@ ColumnLayout {
|
||||
Layout.fillHeight: true
|
||||
Layout.fillWidth: false
|
||||
Layout.preferredWidth: centerWidth
|
||||
|
||||
orientation: Qt.Vertical
|
||||
spacing: Tokens.spacing.largeIncreased * 2
|
||||
|
||||
RowLayout {
|
||||
SnapLayout {
|
||||
Layout.alignment: Qt.AlignHCenter
|
||||
spacing: Tokens.spacing.small
|
||||
|
||||
@@ -116,7 +119,7 @@ ColumnLayout {
|
||||
}
|
||||
}
|
||||
|
||||
RowLayout {
|
||||
SnapLayout {
|
||||
id: input
|
||||
|
||||
anchors.fill: parent
|
||||
|
||||
Reference in New Issue
Block a user