feat: initial commit for pixel-snapping components and helpers
This commit is contained in:
@@ -6,7 +6,8 @@ import qs.Components
|
||||
import qs.Helpers
|
||||
import qs.Services
|
||||
|
||||
ColumnLayout {
|
||||
SnapLayout {
|
||||
orientation: Qt.Vertical
|
||||
id: root
|
||||
|
||||
required property int start
|
||||
@@ -28,7 +29,7 @@ ColumnLayout {
|
||||
|
||||
spacing: Tokens.spacing.medium
|
||||
|
||||
RowLayout {
|
||||
SnapLayout {
|
||||
CustomRect {
|
||||
id: startHourRect
|
||||
|
||||
@@ -470,7 +471,7 @@ ColumnLayout {
|
||||
}
|
||||
}
|
||||
|
||||
RowLayout {
|
||||
SnapLayout {
|
||||
CustomText {
|
||||
Layout.preferredWidth: spacer.x + spacer.width
|
||||
text: qsTr("Start")
|
||||
|
||||
Reference in New Issue
Block a user