QML UI: more fixes to correctly calculate page widths

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

View file

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