mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
QML UI: better margins for start page
This way it doesn't look like it's stuck in the corner. Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
parent
55eb4160da
commit
464d468b75
1 changed files with 4 additions and 4 deletions
|
@ -9,20 +9,19 @@ ColumnLayout {
|
|||
id: startpage
|
||||
width: subsurfaceTheme.columnWidth
|
||||
height: childrenRect.height
|
||||
anchors.margins: MobileComponents.Units.gridUnit / 2
|
||||
|
||||
property int buttonWidth: width * 0.9
|
||||
|
||||
function saveCredentials() { cloudCredentials.saveCredentials() }
|
||||
|
||||
MobileComponents.Heading {
|
||||
Layout.bottomMargin: MobileComponents.Units.largeSpacing
|
||||
text: "Subsurface-mobile"
|
||||
Layout.margins: MobileComponents.Units.gridUnit
|
||||
text: "Subsurface-mobile"
|
||||
}
|
||||
MobileComponents.Label {
|
||||
id: explanationText
|
||||
Layout.fillWidth: true
|
||||
Layout.bottomMargin: MobileComponents.Units.largeSpacing
|
||||
Layout.margins: MobileComponents.Units.gridUnit
|
||||
text: "In order to use Subsurface-mobile you need to have a Subsurface cloud storage account " +
|
||||
"(which can be created with the Subsurface desktop application)."
|
||||
wrapMode: Text.WordWrap
|
||||
|
@ -30,6 +29,7 @@ ColumnLayout {
|
|||
MobileComponents.Label {
|
||||
id: messageArea
|
||||
Layout.fillWidth: true
|
||||
Layout.margins: MobileComponents.Units.gridUnit
|
||||
text: manager.startPageText
|
||||
wrapMode: Text.WordWrap
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue