summaryrefslogtreecommitdiffstats
path: root/framework
diff options
context:
space:
mode:
authorChristian Mollekopf <chrigi_1@fastmail.fm>2018-07-23 21:05:31 +0200
committerChristian Mollekopf <chrigi_1@fastmail.fm>2018-07-23 21:05:56 +0200
commitb81df7bd1a4164ff58fc13dc994773e36d722473 (patch)
treed56116ea0075f48b8b5f3a3c199301af68b6e978 /framework
parent3bfb848e6db4e7d5a7f1f9c5663bf7262402fed9 (diff)
downloadkube-b81df7bd1a4164ff58fc13dc994773e36d722473.tar.gz
kube-b81df7bd1a4164ff58fc13dc994773e36d722473.zip
Do not move the search-box back down if we delete characters in the
search box
Diffstat (limited to 'framework')
-rw-r--r--framework/qml/SearchPopup.qml5
1 files changed, 3 insertions, 2 deletions
diff --git a/framework/qml/SearchPopup.qml b/framework/qml/SearchPopup.qml
index b1787e1b..7548eaa9 100644
--- a/framework/qml/SearchPopup.qml
+++ b/framework/qml/SearchPopup.qml
@@ -31,6 +31,7 @@ Item {
31 property string backgroundColor: Kube.Colors.darkCharcoalGrey 31 property string backgroundColor: Kube.Colors.darkCharcoalGrey
32 property real backgroundOpacity: 0 32 property real backgroundOpacity: 0
33 property real searchAreaOpacity: backgroundOpacity / 4 33 property real searchAreaOpacity: backgroundOpacity / 4
34 property bool movedSearchBox: false
34 35
35 NumberAnimation on backgroundOpacity { 36 NumberAnimation on backgroundOpacity {
36 id: fadeIn 37 id: fadeIn
@@ -137,8 +138,8 @@ Item {
137 State { 138 State {
138 name: "searchInProgress" 139 name: "searchInProgress"
139 when: find.text.length != 0 140 when: find.text.length != 0
140 PropertyChanges {target: filterField; y: Kube.Units.gridUnit} 141 PropertyChanges {target: filterField; restoreEntryValues: false; y: Kube.Units.gridUnit}
141 PropertyChanges {target: root; searchAreaOpacity: 0} 142 PropertyChanges {target: root; restoreEntryValues: false; searchAreaOpacity: 0}
142 } 143 }
143 ] 144 ]
144 145