summaryrefslogtreecommitdiffstats
path: root/doc/src/snippets/declarative/GroupBox.qml
blob: 13e7eb6269e04d8417a6a2c847996a7a751548f9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
import Qt 4.6

ContentWrapper {
    id: Container; width: parent.width; height: contents.height
    children: [
        Rectangle {
            width: parent.width; height: contents.height
            color: "white"; pen.width: 2; pen.color: "#adaeb0"; radius: 10
            VerticalLayout {
                id: layout; width: parent.width; margin: 5; spacing: 2
                Content { }
            }
        }
    ]
}