diff options
Diffstat (limited to 'modules/lock/Content.qml')
| -rw-r--r-- | modules/lock/Content.qml | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/modules/lock/Content.qml b/modules/lock/Content.qml index 43cf871..102d8cf 100644 --- a/modules/lock/Content.qml +++ b/modules/lock/Content.qml @@ -8,6 +8,7 @@ RowLayout { id: root required property var lock + property real centerScale anchors.fill: parent anchors.margins: Appearance.padding.large @@ -24,6 +25,8 @@ RowLayout { radius: Appearance.rounding.small color: Colours.tPalette.m3surfaceContainer + + // WeatherInfo {} } StyledRect { @@ -36,6 +39,9 @@ RowLayout { } Center { + Layout.leftMargin: -(1 - scale) * implicitWidth / 2 + Layout.rightMargin: -(1 - scale) * implicitWidth / 2 + scale: root.centerScale lock: root.lock } |