Use anchors.margins instead of modifying height/width; make extra margin smaller (but still big)
commitebc518ba6f4cc52bd444b3887261dd5574781f4f
authorMichael Terry <michael.terry@canonical.com>
dateTue 24 Sep 2013, 15:00 (13 years ago)
parentc5ec785
Components/EdgeDemoOverlay.qml+2−3
@@ -155,9 +155,8 @@ Showable {
155155 MouseArea {
156156 // Make clickable area bigger than just the link because
157157 // otherwise, the edge demo will feel hard to dismiss.
158− anchors.centerIn: parent
159− width: parent.width + units.gu(10)
160− height: parent.height + units.gu(10)
158+ anchors.fill: parent
159+ anchors.margins: -units.gu(5)
161160 onClicked: overlay.doSkip()
162161 }
163162 }