From 227467157df427dbc6616a42a66ebfab406ef308 Mon Sep 17 00:00:00 2001 From: Christian Mollekopf Date: Sat, 15 Jul 2017 21:30:59 +0200 Subject: Properly anchor and scroll the peopleview --- framework/qml/People.qml | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) (limited to 'framework/qml') diff --git a/framework/qml/People.qml b/framework/qml/People.qml index 11416a1b..5ece85f9 100644 --- a/framework/qml/People.qml +++ b/framework/qml/People.qml @@ -19,7 +19,6 @@ import QtQuick 2.7 import QtQuick.Controls 2.0 -import QtQuick.Controls 1.4 as Controls import QtQuick.Layouts 1.1 import org.kube.framework 1.0 as Kube @@ -95,17 +94,25 @@ Item { color: Kube.Colors.viewBackgroundColor Flickable { + id: peopleFlickable anchors.fill: parent ScrollBar.vertical: ScrollBar { } contentHeight: content.height clip: true - boundsBehavior: Flickable.StopAtBounds + Kube.ScrollHelper { + flickable: peopleFlickable + anchors.fill: parent + } Item { id: content + anchors { + left: parent.left + right: parent.right + } height: childrenRect.height Flow { -- cgit v1.2.3