summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--examples/gallery/content/Panel.qml2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/gallery/content/Panel.qml b/examples/gallery/content/Panel.qml
index 9cfc7250..bdb10f83 100644
--- a/examples/gallery/content/Panel.qml
+++ b/examples/gallery/content/Panel.qml
@@ -87,7 +87,7 @@ Rectangle {
anchors.left: parent.left
anchors.top: parent.top
width: show ? 160 : 40
- height:parent.height
+ height:root.height
Behavior on width { NumberAnimation { easing.type: Easing.OutSine ; duration: 250 } }
property bool show: false
border.left: 0;