From 91b951c362adbceac44bc2d9de0a5f90f012e6d1 Mon Sep 17 00:00:00 2001 From: Sebastian Kügler Date: Thu, 12 Nov 2015 00:40:13 +0100 Subject: Simplify anchoring in divedetails MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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 Signed-off-by: Dirk Hohndel --- qt-mobile/qml/DiveDetails.qml | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'qt-mobile') 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 { -- cgit v1.2.3-70-g09d2