QML UI: fix page width calculation for dive details

Fixes #1049

Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
Dirk Hohndel 2016-04-07 12:07:44 -07:00
parent 9f7e509f9a
commit 0e49d6965c
2 changed files with 4 additions and 3 deletions

View file

@ -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