Fix some styling, make some components bound
This commit is contained in:
@@ -33,7 +33,9 @@ BackgroundRectangle {
|
||||
|
||||
height: collapsed ? 0 : contentHeight
|
||||
|
||||
Component.onCompleted: { root.collapsed = false }
|
||||
Component.onCompleted: {
|
||||
root.collapsed = false;
|
||||
}
|
||||
|
||||
Behavior on height {
|
||||
SequentialAnimation {
|
||||
@@ -49,7 +51,7 @@ BackgroundRectangle {
|
||||
root.timedout();
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
clip: true
|
||||
@@ -65,7 +67,7 @@ BackgroundRectangle {
|
||||
|
||||
Timer {
|
||||
id: notifTimer
|
||||
interval: timerDuration
|
||||
interval: root.timerDuration
|
||||
running: root.startTimer
|
||||
repeat: false
|
||||
|
||||
@@ -86,7 +88,6 @@ BackgroundRectangle {
|
||||
margins: 10
|
||||
}
|
||||
|
||||
|
||||
IconImage {
|
||||
id: iconImage
|
||||
|
||||
|
||||
Reference in New Issue
Block a user