Fix some styling, make some components bound

This commit is contained in:
2025-10-14 00:56:52 -03:00
parent 7e16362f96
commit 0498c2f3cb
8 changed files with 26 additions and 27 deletions

View File

@@ -1,4 +1,5 @@
// CalendarComponent.qml (For one month)
pragma ComponentBehavior: Bound
import QtQuick
import qs.Common
import qs.Common.Styled
@@ -74,6 +75,8 @@ Item {
Repeater {
model: root.getLocalizedDayHeaders()
StyledText {
required property var modelData
text: modelData
horizontalAlignment: Text.AlignHCenter
width: 18
@@ -84,6 +87,7 @@ Item {
Repeater {
model: root.layoutData.days
StyledText {
required property var modelData
text: modelData
horizontalAlignment: Text.AlignHCenter
width: 18