non important commit
This commit is contained in:
parent
069a5df2b9
commit
25c21ca64a
4 changed files with 72 additions and 11 deletions
|
|
@ -15,12 +15,12 @@ PanelWindow {
|
|||
|
||||
anchors.left: true
|
||||
anchors.bottom: true
|
||||
implicitWidth: (expanderOpen || powerAnim.running) ? 140 : 0
|
||||
implicitHeight: (expanderOpen || powerAnim.running) ? 100 : 0
|
||||
implicitWidth: (expanderOpen || popupAnim.running) ? 140 : 0
|
||||
implicitHeight: (expanderOpen || popupAnim.running) ? 100 : 0
|
||||
color: "transparent"
|
||||
|
||||
Rectangle {
|
||||
id: powerRectangle
|
||||
id: popupRectangle
|
||||
|
||||
y: parent.height - height
|
||||
x: powerPopup.expanderOpen ? 0 : -(width + powerPopup.barWidth)
|
||||
|
|
@ -30,7 +30,7 @@ PanelWindow {
|
|||
|
||||
Behavior on x {
|
||||
NumberAnimation {
|
||||
id: powerAnim
|
||||
id: popupAnim
|
||||
|
||||
duration: 400
|
||||
easing.type: Easing.OutCubic
|
||||
|
|
@ -38,7 +38,7 @@ PanelWindow {
|
|||
}
|
||||
|
||||
Row {
|
||||
anchors.centerIn: powerRectangle
|
||||
anchors.centerIn: popupRectangle
|
||||
spacing: 10
|
||||
|
||||
Rectangle {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue