diff options
author | Sebastian Kügler <sebas@kde.org> | 2015-11-12 00:40:13 +0100 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2015-11-11 19:05:10 -0800 |
commit | 91b951c362adbceac44bc2d9de0a5f90f012e6d1 (patch) | |
tree | 2c6dd62a050120df6d9a21abbbef99c5e734c133 /qt-mobile | |
parent | 63cde0e12097835dbd728b95561c0e69a73621f3 (diff) | |
download | subsurface-91b951c362adbceac44bc2d9de0a5f90f012e6d1.tar.gz |
Simplify anchoring in divedetails
anchors.fill does essentially the same, as the item is positioned at 0,0
of the parent by default.
Signed-off-by: Sebastian Kügler <sebas@kde.org>
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'qt-mobile')
-rw-r--r-- | qt-mobile/qml/DiveDetails.qml | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/qt-mobile/qml/DiveDetails.qml b/qt-mobile/qml/DiveDetails.qml index 87078d1ac..c65c92d2d 100644 --- a/qt-mobile/qml/DiveDetails.qml +++ b/qt-mobile/qml/DiveDetails.qml @@ -30,8 +30,7 @@ Item { Flickable { id: flick - width: parent.width - anchors { top: parent.top; bottom: parent.bottom } + anchors.fill: parent contentHeight: parent.height clip: true ColumnLayout { |