From 0d2bd23874f128e5c9fa4cb76407ff750a9479a7 Mon Sep 17 00:00:00 2001 From: howard-stearns Date: Tue, 18 Oct 2016 09:38:55 -0700 Subject: [PATCH] cleanup --- interface/resources/qml/AddressBarDialog.qml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/interface/resources/qml/AddressBarDialog.qml b/interface/resources/qml/AddressBarDialog.qml index 7cb1caf5c0..e2db51d9d8 100644 --- a/interface/resources/qml/AddressBarDialog.qml +++ b/interface/resources/qml/AddressBarDialog.qml @@ -77,7 +77,7 @@ Window { property bool punctuationMode: false implicitWidth: backgroundImage.width - implicitHeight: backgroundImage.height + (keyboardEnabled ? keyboard.raisedHeight : keyboardHeight) + cardHeight; + implicitHeight: backgroundImage.height + (keyboardEnabled ? keyboard.height : 0) + cardHeight; // The buttons have their button state changed on hover, so we have to manually fix them up here onBackEnabledChanged: backArrow.buttonState = addressBarDialog.backEnabled ? 1 : 0; @@ -96,7 +96,7 @@ Window { spacing: hifi.layout.spacing; clip: true; anchors { - top: parent.top + bottom: backgroundImage.top horizontalCenter: backgroundImage.horizontalCenter } model: suggestions; @@ -131,6 +131,7 @@ Window { verticalCenter: scroll.verticalCenter; } } + Image { id: backgroundImage source: "../images/address-bar.svg"