diff options
author | Dirk Hohndel <dirk@hohndel.org> | 2016-04-07 12:12:01 -0700 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2016-04-07 22:57:01 -0700 |
commit | 41ab12533b33174c080fcdd0008a56f3bde6194b (patch) | |
tree | e56ce56e94e1730a56aecef1e9c33f7c6123707c /mobile-widgets/qml/Log.qml | |
parent | 0e49d6965cbdbf387c0fe316338805d3232c0d3d (diff) | |
download | subsurface-41ab12533b33174c080fcdd0008a56f3bde6194b.tar.gz |
QML UI: more fixes to correctly calculate page widths
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'mobile-widgets/qml/Log.qml')
-rw-r--r-- | mobile-widgets/qml/Log.qml | 3 |
1 files changed, 1 insertions, 2 deletions
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" |