summaryrefslogtreecommitdiffstats
path: root/mobile-widgets/qml/DiveDetailsEdit.qml
diff options
context:
space:
mode:
authorGravatar Dirk Hohndel <dirk@hohndel.org>2016-04-07 12:07:44 -0700
committerGravatar Dirk Hohndel <dirk@hohndel.org>2016-04-07 11:22:44 -0700
commit0e49d6965cbdbf387c0fe316338805d3232c0d3d (patch)
treef7ecced3d586e551c2a8621e898c5e152b1b86a6 /mobile-widgets/qml/DiveDetailsEdit.qml
parent9f7e509f9afe57f81adda9649dc4f57a27faf5c7 (diff)
downloadsubsurface-0e49d6965cbdbf387c0fe316338805d3232c0d3d.tar.gz
QML UI: fix page width calculation for dive details
Fixes #1049 Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'mobile-widgets/qml/DiveDetailsEdit.qml')
-rw-r--r--mobile-widgets/qml/DiveDetailsEdit.qml3
1 files changed, 2 insertions, 1 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