summaryrefslogtreecommitdiffstats
path: root/qt-mobile
diff options
context:
space:
mode:
authorGravatar Dirk Hohndel <dirk@hohndel.org>2016-01-04 21:38:44 -0800
committerGravatar Dirk Hohndel <dirk@hohndel.org>2016-01-04 21:38:44 -0800
commita015e5f4cbe87b637466cbbf1d0fa4814baf34c1 (patch)
treedb07b0f6dfb2131b7335bcf5b2ba15601956244f /qt-mobile
parent3bfa8de2f7022370f6ab497a378be51018b49f35 (diff)
downloadsubsurface-a015e5f4cbe87b637466cbbf1d0fa4814baf34c1.tar.gz
QML UI: make top bar elements bigger for easier use
Otherwise hitting those menu buttons is HARD. Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'qt-mobile')
-rw-r--r--qt-mobile/qml/TopBar.qml11
1 files changed, 6 insertions, 5 deletions
diff --git a/qt-mobile/qml/TopBar.qml b/qt-mobile/qml/TopBar.qml
index a7630860f..f87bc62e5 100644
--- a/qt-mobile/qml/TopBar.qml
+++ b/qt-mobile/qml/TopBar.qml
@@ -14,7 +14,7 @@ Rectangle {
property bool goBack: (stackView.depth > 1)
color: subsurfaceTheme.accentColor
- Layout.minimumHeight: MobileComponents.Units.gridUnit * 2
+ Layout.minimumHeight: MobileComponents.Units.gridUnit * 2.5
Layout.fillWidth: true
Layout.margins: 0
RowLayout {
@@ -32,7 +32,7 @@ Rectangle {
Image {
id: mainMenuIcon
source: "qrc:/qml/main-menu.png"
- width: MobileComponents.Units.gridUnit
+ width: MobileComponents.Units.gridUnit * 1.5
height: width
anchors {
top: parent.top
@@ -60,12 +60,13 @@ Rectangle {
topMargin: MobileComponents.Units.smallSpacing * -1
left: parent.left
}
- width: MobileComponents.Units.gridUnit
+ width: MobileComponents.Units.gridUnit * 1.7
height: width
}
MobileComponents.Label {
text: qsTr("Subsurface-mobile")
- height: subsurfaceLogo.height
+ font.pointSize: MobileComponents.Theme.defaultFont.pointSize * 1.3
+ height: subsurfaceLogo.height * 2
anchors {
left: subsurfaceLogo.right
bottom: subsurfaceLogo.bottom
@@ -90,7 +91,7 @@ Rectangle {
Image {
id: contextMenuIcon
source: "qrc:/qml/context-menu.png"
- width: MobileComponents.Units.gridUnit
+ width: MobileComponents.Units.gridUnit * 1.5
height: width
anchors {
top: parent.top