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
|
id: startpage
|
||||||
width: subsurfaceTheme.columnWidth
|
width: subsurfaceTheme.columnWidth
|
||||||
height: childrenRect.height
|
height: childrenRect.height
|
||||||
anchors.margins: MobileComponents.Units.gridUnit / 2
|
|
||||||
|
|
||||||
property int buttonWidth: width * 0.9
|
property int buttonWidth: width * 0.9
|
||||||
|
|
||||||
function saveCredentials() { cloudCredentials.saveCredentials() }
|
function saveCredentials() { cloudCredentials.saveCredentials() }
|
||||||
|
|
||||||
MobileComponents.Heading {
|
MobileComponents.Heading {
|
||||||
Layout.bottomMargin: MobileComponents.Units.largeSpacing
|
Layout.margins: MobileComponents.Units.gridUnit
|
||||||
text: "Subsurface-mobile"
|
text: "Subsurface-mobile"
|
||||||
}
|
}
|
||||||
MobileComponents.Label {
|
MobileComponents.Label {
|
||||||
id: explanationText
|
id: explanationText
|
||||||
Layout.fillWidth: true
|
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 " +
|
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)."
|
"(which can be created with the Subsurface desktop application)."
|
||||||
wrapMode: Text.WordWrap
|
wrapMode: Text.WordWrap
|
||||||
|
@ -30,6 +29,7 @@ ColumnLayout {
|
||||||
MobileComponents.Label {
|
MobileComponents.Label {
|
||||||
id: messageArea
|
id: messageArea
|
||||||
Layout.fillWidth: true
|
Layout.fillWidth: true
|
||||||
|
Layout.margins: MobileComponents.Units.gridUnit
|
||||||
text: manager.startPageText
|
text: manager.startPageText
|
||||||
wrapMode: Text.WordWrap
|
wrapMode: Text.WordWrap
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue