diff options
Diffstat (limited to 'qt-mobile/qml/About.qml')
-rw-r--r-- | qt-mobile/qml/About.qml | 26 |
1 files changed, 11 insertions, 15 deletions
diff --git a/qt-mobile/qml/About.qml b/qt-mobile/qml/About.qml index 9b1b69c8b..b1ca6e6bc 100644 --- a/qt-mobile/qml/About.qml +++ b/qt-mobile/qml/About.qml @@ -6,7 +6,7 @@ import org.subsurfacedivelog.mobile 1.0 Kirigami.ScrollablePage { id: aboutPage - property int pageWidth: subsurfaceTheme.columnWidth - Kirigami.Units.gridUnit + property int pageWidth: subsurfaceTheme.columnWidth - Kirigami.Units.smallSpacing title: "About Subsurface-mobile" ColumnLayout { @@ -14,26 +14,22 @@ Kirigami.ScrollablePage { width: aboutPage.width Layout.margins: Kirigami.Units.gridUnit / 2 + Kirigami.Heading { text: "About Subsurface-mobile" - Layout.margins: Kirigami.Units.largeSpacing / 2 + Layout.topMargin: Kirigami.Units.gridUnit Layout.alignment: Qt.AlignHCenter Layout.maximumWidth: pageWidth wrapMode: TextEdit.WrapAtWordBoundaryOrAnywhere } - - Rectangle { - color: "transparent" - Layout.margins: Kirigami.Units.largeSpacing - Layout.fillWidth: true - Layout.minimumHeight: childrenRect.height - Image { - id: image - source: "qrc:/qml/subsurface-mobile-icon.png" - width: parent.width - Kirigami.Units.largeSpacing - fillMode: Image.PreserveAspectFit - horizontalAlignment: Image.AlignHCenter - } + Image { + id: image + source: "qrc:/qml/subsurface-mobile-icon.png" + width: pageWidth / 2 + height: width + fillMode: Image.Stretch + Layout.alignment: Qt.AlignCenter + horizontalAlignment: Image.AlignHCenter } Kirigami.Heading { |