Use anchors
commit439de16744a5341a84191335f2cb7686afeb1001
authorAlbert Astals <albert.astals@canonical.com>
dateThu 19 Jun 2014, 11:56 (12 years ago)
parent2fdcd1f
qml/Components/PageHeader.qml+5−2
@@ -415,8 +415,11 @@ Item {
415415 Item {
416416 id: bottomContainer
417417
418− anchors.bottom: parent.bottom
419− width: parent.width
418+ anchors {
419+ left: parent.left
420+ right: parent.right
421+ bottom: parent.bottom
422+ }
420423 height: childrenRect.height
421424 }
422425}