summaryrefslogtreecommitdiffstats
path: root/examples/declarative/tutorials/t2/tutorial2.qml
blob: 1e3af164c4e819f13927aeba001b9bcaf09092c8 (plain)
1
2
3
4
5
6
7
8
9
10
11
<Rect id="Page" width="480" height="200" color="white">
    <Text id="HelloText" text="Hello world!" font.size="24" font.bold="true" y="30" anchors.horizontalCenter="{Page.horizontalCenter}"/>
    <GridLayout id="ColorPicker" x="0" anchors.bottom="{Page.bottom}" width="120" height="50" columns="3" rows="2">
        <Cell color="#ff0000"/>
        <Cell color="#00ff00"/>
        <Cell color="#0000ff"/>
        <Cell color="#ffff00"/>
        <Cell color="#00ffff"/>
        <Cell color="#ff00ff"/>
    </GridLayout>
</Rect>