dashboard/calendar: fix
This commit is contained in:
parent
fb9c6d4950
commit
02c59fbd38
1 changed files with 7 additions and 5 deletions
|
|
@ -144,8 +144,7 @@ Column {
|
||||||
month: root.currMonth
|
month: root.currMonth
|
||||||
year: root.currYear
|
year: root.currYear
|
||||||
|
|
||||||
anchors.left: parent.left
|
anchors.fill: parent
|
||||||
anchors.right: parent.right
|
|
||||||
|
|
||||||
spacing: 3
|
spacing: 3
|
||||||
locale: Qt.locale()
|
locale: Qt.locale()
|
||||||
|
|
@ -179,7 +178,7 @@ Column {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
StyledClippingRect {
|
StyledRect {
|
||||||
id: todayIndicator
|
id: todayIndicator
|
||||||
|
|
||||||
readonly property Item todayItem: grid.contentItem.children.find(c => c.model.today) ?? null
|
readonly property Item todayItem: grid.contentItem.children.find(c => c.model.today) ?? null
|
||||||
|
|
@ -196,6 +195,7 @@ Column {
|
||||||
implicitWidth: today?.implicitWidth ?? 0
|
implicitWidth: today?.implicitWidth ?? 0
|
||||||
implicitHeight: today?.implicitHeight ?? 0
|
implicitHeight: today?.implicitHeight ?? 0
|
||||||
|
|
||||||
|
clip: true
|
||||||
radius: Appearance.rounding.full
|
radius: Appearance.rounding.full
|
||||||
color: Colours.palette.m3primary
|
color: Colours.palette.m3primary
|
||||||
|
|
||||||
|
|
@ -224,13 +224,15 @@ Column {
|
||||||
|
|
||||||
Behavior on x {
|
Behavior on x {
|
||||||
Anim {
|
Anim {
|
||||||
easing.bezierCurve: Appearance.anim.curves.emphasized
|
duration: Appearance.anim.durations.expressiveDefaultSpatial
|
||||||
|
easing.bezierCurve: Appearance.anim.curves.expressiveDefaultSpatial
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
Behavior on y {
|
Behavior on y {
|
||||||
Anim {
|
Anim {
|
||||||
easing.bezierCurve: Appearance.anim.curves.emphasized
|
duration: Appearance.anim.durations.expressiveDefaultSpatial
|
||||||
|
easing.bezierCurve: Appearance.anim.curves.expressiveDefaultSpatial
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue