From 775c9ef760d56a11156151777deb3142c201c6f8 Mon Sep 17 00:00:00 2001 From: Andras Becsi Date: Mon, 23 Jun 2014 11:18:59 +0200 Subject: webengine: Make the address bar size similar across devices Use pixelSize for the font and make the TextField height enough, the hide button big enough to be able to acurately press it on the new Nexus as well. Change-Id: If683e533639a46534fca8bab1489b2c034477698 Reviewed-by: Eirik Aavitsland --- basicsuite/webengine/main.qml | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'basicsuite') diff --git a/basicsuite/webengine/main.qml b/basicsuite/webengine/main.qml index fbcf6b0..c8ea895 100644 --- a/basicsuite/webengine/main.qml +++ b/basicsuite/webengine/main.qml @@ -115,7 +115,7 @@ Rectangle { color: "black" opacity: 1 - height: addressBar.height + showToolBarButton.height + 60 + height: addressBar.height + showToolBarButton.height + 40 y: 0 Behavior on y { @@ -184,7 +184,7 @@ Rectangle { left: parent.left right: parent.right margins: 10 - topMargin: 40 + topMargin: 30 } ToolButton { id: backButton @@ -225,8 +225,8 @@ Rectangle { id: addressBar focus: true textColor: "black" - implicitHeight: 40 - font.pointSize: 10 + implicitHeight: 50 + font.pixelSize: 25 inputMethodHints: Qt.ImhUrlCharactersOnly | Qt.ImhNoPredictiveText Image { anchors { @@ -250,7 +250,7 @@ Rectangle { ToolButton { id: showToolBarButton - height: 25 + height: 30 width: height property string icon: (toolBar.state == "hidden") ? "ui/icons/down.png" : "ui/icons/up.png" style: navigationButtonStyle -- cgit v1.2.3