diff options
| author | 2 * r + 2 * t <61896496+soramanew@users.noreply.github.com> | 2025-05-23 23:10:45 +0800 |
|---|---|---|
| committer | 2 * r + 2 * t <61896496+soramanew@users.noreply.github.com> | 2025-05-23 23:10:45 +0800 |
| commit | 3433f9fbe9455837b71a7056d1683d0c4b3b7527 (patch) | |
| tree | 9e374ffaca11a2bf98149fd72f6709a7dd72f115 /modules/dashboard/dash/Calendar.qml | |
| parent | dashboard: add weather (diff) | |
| download | caelestia-shell-3433f9fbe9455837b71a7056d1683d0c4b3b7527.tar.gz caelestia-shell-3433f9fbe9455837b71a7056d1683d0c4b3b7527.tar.bz2 caelestia-shell-3433f9fbe9455837b71a7056d1683d0c4b3b7527.zip | |
dashboard: calendar no need for layout
Diffstat (limited to 'modules/dashboard/dash/Calendar.qml')
| -rw-r--r-- | modules/dashboard/dash/Calendar.qml | 14 |
1 files changed, 8 insertions, 6 deletions
diff --git a/modules/dashboard/dash/Calendar.qml b/modules/dashboard/dash/Calendar.qml index d9d5402..16ee446 100644 --- a/modules/dashboard/dash/Calendar.qml +++ b/modules/dashboard/dash/Calendar.qml @@ -5,19 +5,20 @@ import QtQuick import QtQuick.Controls import QtQuick.Layouts -ColumnLayout { +Column { id: root anchors.left: parent.left anchors.right: parent.right - anchors.margins: Appearance.padding.large + padding: Appearance.padding.large spacing: Appearance.spacing.small DayOfWeekRow { id: days - Layout.topMargin: Appearance.padding.large - Layout.fillWidth: true + anchors.left: parent.left + anchors.right: parent.right + anchors.margins: parent.padding delegate: StyledText { required property var model @@ -32,8 +33,9 @@ ColumnLayout { MonthGrid { id: grid - Layout.bottomMargin: Appearance.padding.large - Layout.fillWidth: true + anchors.left: parent.left + anchors.right: parent.right + anchors.margins: parent.padding spacing: 3 |