diff options
Diffstat (limited to 'mobile-widgets')
-rw-r--r-- | mobile-widgets/qml/DiveDetailsEdit.qml | 3 | ||||
-rw-r--r-- | mobile-widgets/qml/DiveDetailsView.qml | 4 |
2 files changed, 4 insertions, 3 deletions
diff --git a/mobile-widgets/qml/DiveDetailsEdit.qml b/mobile-widgets/qml/DiveDetailsEdit.qml index e4338b3b8..37d0c813d 100644 --- a/mobile-widgets/qml/DiveDetailsEdit.qml +++ b/mobile-widgets/qml/DiveDetailsEdit.qml @@ -57,10 +57,11 @@ Item { } height: editArea.height + width: diveDetailsPage.width - diveDetailsPage.leftPadding - diveDetailsPage.rightPadding ColumnLayout { id: editArea spacing: Kirigami.Units.smallSpacing - width: subsurfaceTheme.columnWidth - 2 * Kirigami.Units.gridUnit + width: parent.width - 2 * Kirigami.Units.gridUnit GridLayout { id: editorDetails diff --git a/mobile-widgets/qml/DiveDetailsView.qml b/mobile-widgets/qml/DiveDetailsView.qml index ef1dc5605..c10c38965 100644 --- a/mobile-widgets/qml/DiveDetailsView.qml +++ b/mobile-widgets/qml/DiveDetailsView.qml @@ -11,13 +11,13 @@ import org.kde.kirigami 1.0 as Kirigami Item { id: detailsView - property real gridWidth: subsurfaceTheme.columnWidth - 2 * Kirigami.Units.gridUnit + property real gridWidth: detailsView.width - 2 * Kirigami.Units.gridUnit property real col1Width: gridWidth * 0.23 property real col2Width: gridWidth * 0.37 property real col3Width: gridWidth * 0.20 property real col4Width: gridWidth * 0.20 - width: SubsurfaceTheme.columnWidth + width: diveDetailsPage.width - diveDetailsPage.leftPadding - diveDetailsPage.rightPadding height: mainLayout.implicitHeight + bottomLayout.implicitHeight + Kirigami.Units.iconSizes.large Rectangle { z: 99 |