on xenial help sign in
Use anchors
439de16Albert Astals
qml/Components/PageHeader.qml+5−2
@@ -415,8 +415,11 @@ Item {
415 Item {
415 Item {
416 id: bottomContainer
416 id: bottomContainer
417
417
418− anchors.bottom: parent.bottom
418+ anchors {
419− width: parent.width
419+ left: parent.left
420+ right: parent.right
421+ bottom: parent.bottom
422+ }
420 height: childrenRect.height
423 height: childrenRect.height
421 }
424 }
422}
425}