summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
author2 * r + 2 * t <61896496+soramanew@users.noreply.github.com>2025-05-23 23:10:45 +0800
committer2 * r + 2 * t <61896496+soramanew@users.noreply.github.com>2025-05-23 23:10:45 +0800
commit3433f9fbe9455837b71a7056d1683d0c4b3b7527 (patch)
tree9e374ffaca11a2bf98149fd72f6709a7dd72f115
parentdashboard: add weather (diff)
downloadcaelestia-shell-3433f9fbe9455837b71a7056d1683d0c4b3b7527.tar.gz
caelestia-shell-3433f9fbe9455837b71a7056d1683d0c4b3b7527.tar.bz2
caelestia-shell-3433f9fbe9455837b71a7056d1683d0c4b3b7527.zip
dashboard: calendar no need for layout
-rw-r--r--modules/dashboard/dash/Calendar.qml14
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