lock: fix notifs height on startup
For some reason they do not have the correct height, so use a timer to recalculate after a small delay
This commit is contained in:
parent
52cad36cdf
commit
ec6e505bd1
1 changed files with 6 additions and 0 deletions
|
|
@ -29,6 +29,12 @@ WrapperItem {
|
||||||
rightMargin: 0
|
rightMargin: 0
|
||||||
topMargin: 0
|
topMargin: 0
|
||||||
|
|
||||||
|
Timer {
|
||||||
|
running: true
|
||||||
|
interval: 10
|
||||||
|
onTriggered: notifs.countChanged()
|
||||||
|
}
|
||||||
|
|
||||||
Behavior on implicitWidth {
|
Behavior on implicitWidth {
|
||||||
Anim {
|
Anim {
|
||||||
duration: Appearance.anim.durations.large
|
duration: Appearance.anim.durations.large
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue