-
Notifications
You must be signed in to change notification settings - Fork 6
/
08_grid.qml
53 lines (44 loc) · 931 Bytes
/
08_grid.qml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
import QtQuick 2.0
Rectangle {
id: main
width: 320
height: 240
color: "lightgray"
Grid {
columns: 3
spacing: 2
anchors.verticalCenter: parent.verticalCenter
anchors.horizontalCenter: parent.horizontalCenter
Rectangle {
color: "#ff8080"
width: 75
height: 75
}
Rectangle {
color: "yellow"
width: 32
height: 75
}
Rectangle {
color: "#8080ff"
width: 75
height: 32
}
Rectangle {
color: "#8080ff"
width: 75
height: 75
}
Rectangle {
color: "black"
width: 10
height: 10
}
Image {
id: left_image
source: "editors/vim.svg"
width: 100
height: 100
}
}
}