summaryrefslogtreecommitdiff
path: root/popups/launcher/components/DuckDuckGo.qml
diff options
context:
space:
mode:
Diffstat (limited to 'popups/launcher/components/DuckDuckGo.qml')
-rw-r--r--popups/launcher/components/DuckDuckGo.qml6
1 files changed, 5 insertions, 1 deletions
diff --git a/popups/launcher/components/DuckDuckGo.qml b/popups/launcher/components/DuckDuckGo.qml
index 026b240..0514b66 100644
--- a/popups/launcher/components/DuckDuckGo.qml
+++ b/popups/launcher/components/DuckDuckGo.qml
@@ -14,7 +14,7 @@ IComponent {
property int cursorPosition: SelectionState.cursorPosition
property bool expand: false
- height: valid ? expand ? layout.implicitHeight + (Launcher.duckduckgoSpacing * 2) : Launcher.widgetHeight : 0
+ implicitHeight: valid ? expand ? layout.implicitHeight + (Launcher.duckduckgoSpacing * 2) : Launcher.widgetHeight : 0
name: "DuckDuckGo" // subclass of WebSearch in the future
preview: Component {
@@ -145,4 +145,8 @@ IComponent {
}
}
}
+
+ Behavior on implicitHeight {
+ ISpringAnimation {}
+ }
}