diff options
author | Christian Mollekopf <chrigi_1@fastmail.fm> | 2017-07-15 21:38:09 +0200 |
---|---|---|
committer | Christian Mollekopf <chrigi_1@fastmail.fm> | 2017-07-15 21:44:15 +0200 |
commit | 9f489dbb3091ed86c028713603c1108dae49a084 (patch) | |
tree | ebe6d625bf5302545ad8c861caa14dfa5536a252 /framework/qml/People.qml | |
parent | 227467157df427dbc6616a42a66ebfab406ef308 (diff) | |
download | kube-9f489dbb3091ed86c028713603c1108dae49a084.tar.gz kube-9f489dbb3091ed86c028713603c1108dae49a084.zip |
Properly anchor and scroll the person page
Diffstat (limited to 'framework/qml/People.qml')
-rw-r--r-- | framework/qml/People.qml | 13 |
1 files changed, 11 insertions, 2 deletions
diff --git a/framework/qml/People.qml b/framework/qml/People.qml index 5ece85f9..79a00b08 100644 --- a/framework/qml/People.qml +++ b/framework/qml/People.qml | |||
@@ -220,14 +220,15 @@ Item { | |||
220 | anchors { | 220 | anchors { |
221 | top: parent.top | 221 | top: parent.top |
222 | left: parent.left | 222 | left: parent.left |
223 | right: parent.right | ||
223 | leftMargin: Kube.Units.largeSpacing | 224 | leftMargin: Kube.Units.largeSpacing |
224 | } | 225 | } |
225 | 226 | ||
226 | width: parent.width | ||
227 | height: parent.height | 227 | height: parent.height |
228 | 228 | ||
229 | 229 | ||
230 | Flickable { | 230 | Flickable { |
231 | id: personPageFlickable | ||
231 | 232 | ||
232 | anchors.fill: parent | 233 | anchors.fill: parent |
233 | 234 | ||
@@ -236,10 +237,18 @@ Item { | |||
236 | 237 | ||
237 | clip: true | 238 | clip: true |
238 | 239 | ||
240 | Kube.ScrollHelper { | ||
241 | flickable: personPageFlickable | ||
242 | anchors.fill: parent | ||
243 | } | ||
244 | |||
239 | ColumnLayout { | 245 | ColumnLayout { |
240 | id: contentColumn | 246 | id: contentColumn |
241 | 247 | ||
242 | width: personPageRoot.width | 248 | anchors { |
249 | left: parent.left | ||
250 | right: parent.right | ||
251 | } | ||
243 | 252 | ||
244 | spacing: Kube.Units.largeSpacing | 253 | spacing: Kube.Units.largeSpacing |
245 | 254 | ||