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>
This commit is contained in:
Dirk Hohndel 2016-01-04 21:38:44 -08:00
parent 3bfa8de2f7
commit a015e5f4cb

View file

@ -14,7 +14,7 @@ Rectangle {
property bool goBack: (stackView.depth > 1) property bool goBack: (stackView.depth > 1)
color: subsurfaceTheme.accentColor color: subsurfaceTheme.accentColor
Layout.minimumHeight: MobileComponents.Units.gridUnit * 2 Layout.minimumHeight: MobileComponents.Units.gridUnit * 2.5
Layout.fillWidth: true Layout.fillWidth: true
Layout.margins: 0 Layout.margins: 0
RowLayout { RowLayout {
@ -32,7 +32,7 @@ Rectangle {
Image { Image {
id: mainMenuIcon id: mainMenuIcon
source: "qrc:/qml/main-menu.png" source: "qrc:/qml/main-menu.png"
width: MobileComponents.Units.gridUnit width: MobileComponents.Units.gridUnit * 1.5
height: width height: width
anchors { anchors {
top: parent.top top: parent.top
@ -60,12 +60,13 @@ Rectangle {
topMargin: MobileComponents.Units.smallSpacing * -1 topMargin: MobileComponents.Units.smallSpacing * -1
left: parent.left left: parent.left
} }
width: MobileComponents.Units.gridUnit width: MobileComponents.Units.gridUnit * 1.7
height: width height: width
} }
MobileComponents.Label { MobileComponents.Label {
text: qsTr("Subsurface-mobile") text: qsTr("Subsurface-mobile")
height: subsurfaceLogo.height font.pointSize: MobileComponents.Theme.defaultFont.pointSize * 1.3
height: subsurfaceLogo.height * 2
anchors { anchors {
left: subsurfaceLogo.right left: subsurfaceLogo.right
bottom: subsurfaceLogo.bottom bottom: subsurfaceLogo.bottom
@ -90,7 +91,7 @@ Rectangle {
Image { Image {
id: contextMenuIcon id: contextMenuIcon
source: "qrc:/qml/context-menu.png" source: "qrc:/qml/context-menu.png"
width: MobileComponents.Units.gridUnit width: MobileComponents.Units.gridUnit * 1.5
height: width height: width
anchors { anchors {
top: parent.top top: parent.top