From 3433f9fbe9455837b71a7056d1683d0c4b3b7527 Mon Sep 17 00:00:00 2001 From: 2 * r + 2 * t <61896496+soramanew@users.noreply.github.com> Date: Fri, 23 May 2025 23:10:45 +0800 Subject: dashboard: calendar no need for layout --- modules/dashboard/dash/Calendar.qml | 14 ++++++++------ 1 file changed, 8 insertions(+), 6 deletions(-) (limited to 'modules') 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 -- cgit v1.2.3-freya