mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
QML UI: small modification to About screen
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
parent
04f3a6f8d5
commit
5aa94578f7
1 changed files with 4 additions and 15 deletions
|
@ -8,18 +8,6 @@ MobileComponents.Page {
|
||||||
id: aboutPage
|
id: aboutPage
|
||||||
property int pageWidth: subsurfaceTheme.columnWidth - MobileComponents.Units.gridUnit
|
property int pageWidth: subsurfaceTheme.columnWidth - MobileComponents.Units.gridUnit
|
||||||
|
|
||||||
/* this can be done by hitting the back key
|
|
||||||
contextualActions: [
|
|
||||||
Action {
|
|
||||||
text: "Close About"
|
|
||||||
iconName: "dialog-cancel"
|
|
||||||
onTriggered: {
|
|
||||||
stackView.pop()
|
|
||||||
contextDrawer.close()
|
|
||||||
}
|
|
||||||
}
|
|
||||||
]
|
|
||||||
*/
|
|
||||||
ScrollView {
|
ScrollView {
|
||||||
anchors.fill: parent
|
anchors.fill: parent
|
||||||
|
|
||||||
|
@ -53,7 +41,7 @@ MobileComponents.Page {
|
||||||
MobileComponents.Heading {
|
MobileComponents.Heading {
|
||||||
text: "A mobile version of the free Subsurface divelog software.\n" +
|
text: "A mobile version of the free Subsurface divelog software.\n" +
|
||||||
"View your dive logs while on the go."
|
"View your dive logs while on the go."
|
||||||
level: 3
|
level: 4
|
||||||
Layout.alignment: Qt.AlignHCenter
|
Layout.alignment: Qt.AlignHCenter
|
||||||
Layout.topMargin: MobileComponents.Units.largeSpacing * 3
|
Layout.topMargin: MobileComponents.Units.largeSpacing * 3
|
||||||
Layout.maximumWidth: pageWidth
|
Layout.maximumWidth: pageWidth
|
||||||
|
@ -63,8 +51,9 @@ MobileComponents.Page {
|
||||||
}
|
}
|
||||||
|
|
||||||
MobileComponents.Heading {
|
MobileComponents.Heading {
|
||||||
text: "Version: " + manager.getVersion() + "\n\n© Subsurface developer team, 2016"
|
text: "Version: " + manager.getVersion() + "\n\n© Subsurface developer team\n2011-2016"
|
||||||
level: 4
|
level: 5
|
||||||
|
font.pointSize: subsurfaceTheme.smallPointSize + 1
|
||||||
Layout.alignment: Qt.AlignHCenter
|
Layout.alignment: Qt.AlignHCenter
|
||||||
Layout.topMargin: MobileComponents.Units.largeSpacing
|
Layout.topMargin: MobileComponents.Units.largeSpacing
|
||||||
Layout.maximumWidth: pageWidth
|
Layout.maximumWidth: pageWidth
|
||||||
|
|
Loading…
Add table
Reference in a new issue