Skip to content

Commit f178ed2

Browse files
committed
fix isPotrait and re-set row spacing
1 parent 9e3125a commit f178ed2

2 files changed

Lines changed: 2 additions & 5 deletions

File tree

modules/lock/Center.qml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,6 @@ ColumnLayout {
99
id: root
1010

1111
required property var lock
12-
required property bool isPortrait
1312
required property real lockHeight
1413

1514
readonly property real centerScale: Math.min(1, root.lockHeight / 1440)

modules/lock/Content.qml

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ Item {
1919

2020
RowLayout {
2121
Layout.fillWidth: true
22-
spacing: Tokens.spacing.largeIncreased * 2
22+
spacing: Tokens.spacing.largeIncreased
2323

2424
WeatherInfo {
2525
Layout.fillWidth: true
@@ -34,14 +34,13 @@ Item {
3434
Center {
3535
Layout.alignment: Qt.AlignHCenter
3636
lock: root.lock
37-
isPortrait: root.isPortrait
3837
lockHeight: root.lockHeight
3938
}
4039

4140
RowLayout {
4241
Layout.fillWidth: true
4342

44-
spacing: Tokens.spacing.largeIncreased * 2
43+
spacing: Tokens.spacing.largeIncreased
4544

4645
Fetch {
4746
Layout.fillWidth: true
@@ -99,7 +98,6 @@ Item {
9998

10099
Center {
101100
lock: root.lock
102-
isPortrait: root.isPortrait
103101
lockHeight: root.lockHeight
104102
}
105103

0 commit comments

Comments
 (0)