Fix some styling, make some components bound
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user