From 76857eaeb8eec8a7cbd689bf74731296819f1b34 Mon Sep 17 00:00:00 2001 From: Alex Date: Sun, 16 Nov 2025 17:58:53 +0200 Subject: [PATCH] Fixed a bug in which the text of the calendar did not appear --- src/Project-Orion/CalendarGrid.qml | 15 ++++++--------- 1 file changed, 6 insertions(+), 9 deletions(-) diff --git a/src/Project-Orion/CalendarGrid.qml b/src/Project-Orion/CalendarGrid.qml index 2144a2e..6ebfe67 100644 --- a/src/Project-Orion/CalendarGrid.qml +++ b/src/Project-Orion/CalendarGrid.qml @@ -19,7 +19,6 @@ GridLayout { Layout.fillHeight: true delegate: Text { text: weekNumber - font: control.font horizontalAlignment: Text.AlignHCenter verticalAlignment: Text.AlignVCenter color: myPalette.text @@ -36,13 +35,11 @@ GridLayout { Layout.fillWidth: true Layout.fillHeight: true delegate: Text { - horizontalAlignment: Text.AlignHCenter - verticalAlignment: Text.AlignVCenter - opacity: model.month === monthGrid.month ? 1 : 0 - text: monthGrid.locale.toString(model.date, "d") - font: monthGrid.font - - required property var model - } + horizontalAlignment: Text.AlignHCenter + verticalAlignment: Text.AlignVCenter + text: model.day + color: myPalette.text + required property var model + } } }