aboutsummaryrefslogtreecommitdiff
path: root/components/SearchInput.qml
diff options
context:
space:
mode:
authormarcin <z.krzysztoff7@gmail.com>2014-07-23 13:27:27 +0200
committermarcin <z.krzysztoff7@gmail.com>2014-07-23 13:27:27 +0200
commit6800bb67d72e0923502ea90e0a8d548e0ba5ee70 (patch)
treedef1ca564c95fb2abd1de4c1986ae83441358d26 /components/SearchInput.qml
parent74b6483b18f35a7ad0baadc379ee0e0cda0270ba (diff)
downloadmonzero-gui-6800bb67d72e0923502ea90e0a8d548e0ba5ee70.tar.gz
monzero-gui-6800bb67d72e0923502ea90e0a8d548e0ba5ee70.tar.xz
monzero-gui-6800bb67d72e0923502ea90e0a8d548e0ba5ee70.zip
https://trello.com/c/SBd9Yyud/54-not-hugely-important-but-can-the-window-be-resizable-or-does-that-add-too-many-complications
Diffstat (limited to 'components/SearchInput.qml')
-rw-r--r--components/SearchInput.qml15
1 files changed, 14 insertions, 1 deletions
diff --git a/components/SearchInput.qml b/components/SearchInput.qml
index cf7de2fa..2844bd21 100644
--- a/components/SearchInput.qml
+++ b/components/SearchInput.qml
@@ -100,7 +100,7 @@ Item {
onClicked: {
if(droplist.height === 0) {
appWindow.currentItem = dropdown
- droplist.height = dropcolumn.height
+ droplist.height = dropcolumn.height + 2
} else {
droplist.height = 0
}
@@ -117,8 +117,20 @@ Item {
clip: true
x: dropdown.x
y: dropdown.height
+ border.width: 1
+ border.color: "#DBDBDB"
color: "#FFFFFF"
+ Rectangle {
+ anchors.left: parent.left
+ anchors.right: parent.right
+ anchors.top: parent.top
+ anchors.leftMargin: 1
+ anchors.rightMargin: 1
+ height: 1
+ color: "#FFFFFF"
+ }
+
Behavior on height {
NumberAnimation { duration: 100; easing.type: Easing.InQuad }
}
@@ -135,6 +147,7 @@ Item {
anchors.left: parent.left
anchors.right: parent.right
anchors.top: parent.top
+ anchors.margins: 1
Repeater {
model: dropdownModel