aboutsummaryrefslogtreecommitdiffstats
path: root/tests/auto/quick/qquickanchors/data/individualMargins.qml
blob: ce2899afe43fe02460921ee93da0a2bda62f2ba5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
import QtQuick 2.0

Rectangle {
    width: 200; height: 200
    Rectangle {
        objectName: "filler"
        width: 50; height: 50; color: "blue"
        anchors.left: parent.left;
        anchors.top: parent.top
        anchors.right: parent.right
        anchors.bottom: parent.bottom
        anchors.margins: 10
        anchors.leftMargin: 5
        anchors.topMargin: 6
    }
}