summaryrefslogtreecommitdiffstats
path: root/basicsuite
diff options
context:
space:
mode:
authorAndras Becsi <andras.becsi@digia.com>2014-06-23 11:18:59 +0200
committerAndras Becsi <andras.becsi@digia.com>2014-06-23 15:04:01 +0300
commit775c9ef760d56a11156151777deb3142c201c6f8 (patch)
tree5530cb3eb7aafc0fe91ce6eeb24cdacb09e7fe37 /basicsuite
parentd1e02fea9e1e8adee6046cba5cefd5231d762716 (diff)
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 <eirik.aavitsland@digia.com>
Diffstat (limited to 'basicsuite')
-rw-r--r--basicsuite/webengine/main.qml10
1 files changed, 5 insertions, 5 deletions
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