diff options
-rw-r--r-- | mobile-widgets/qml/About.qml | 2 | ||||
-rw-r--r-- | mobile-widgets/qml/CloudCredentials.qml | 2 | ||||
-rw-r--r-- | mobile-widgets/qml/Log.qml | 3 |
3 files changed, 3 insertions, 4 deletions
diff --git a/mobile-widgets/qml/About.qml b/mobile-widgets/qml/About.qml index b1ca6e6bc..43e990421 100644 --- a/mobile-widgets/qml/About.qml +++ b/mobile-widgets/qml/About.qml @@ -6,7 +6,7 @@ import org.subsurfacedivelog.mobile 1.0 Kirigami.ScrollablePage { id: aboutPage - property int pageWidth: subsurfaceTheme.columnWidth - Kirigami.Units.smallSpacing + property int pageWidth: aboutPage.width - aboutPage.leftPadding - aboutPage.rightPadding title: "About Subsurface-mobile" ColumnLayout { diff --git a/mobile-widgets/qml/CloudCredentials.qml b/mobile-widgets/qml/CloudCredentials.qml index aa7c57651..9a6ddc7f1 100644 --- a/mobile-widgets/qml/CloudCredentials.qml +++ b/mobile-widgets/qml/CloudCredentials.qml @@ -21,7 +21,7 @@ Item { ColumnLayout { id: outerLayout - width: subsurfaceTheme.columnWidth - 2 * Kirigami.Units.gridUnit + width: loginWindow.width - loginWindow.leftPadding - loginWindow.rightPadding - 2 * Kirigami.Units.gridUnit onVisibleChanged: { if (visible && manager.accessingCloud < 0) { diff --git a/mobile-widgets/qml/Log.qml b/mobile-widgets/qml/Log.qml index d617901de..147709cea 100644 --- a/mobile-widgets/qml/Log.qml +++ b/mobile-widgets/qml/Log.qml @@ -10,7 +10,6 @@ import org.kde.kirigami 1.0 as Kirigami Kirigami.ScrollablePage { id: logWindow - width: parent.width - Kirigami.Units.gridUnit anchors.margins: Kirigami.Units.gridUnit / 2 objectName: "Log" title: "Application Log" @@ -18,7 +17,7 @@ Kirigami.ScrollablePage { property int pageWidth: subsurfaceTheme.columnWidth - Kirigami.Units.smallSpacing ColumnLayout { - width: pageWidth + width: logWindow.width - logWindow.leftPadding - logWindow.rightPadding - 2 * Kirigami.Units.smallSpacing spacing: Kirigami.Units.smallSpacing Kirigami.Heading { text: "Application Log" |