summaryrefslogtreecommitdiffstats
path: root/tests/auto/declarative/layouts/data/vertical-spacing-margin.qml
diff options
context:
space:
mode:
Diffstat (limited to 'tests/auto/declarative/layouts/data/vertical-spacing-margin.qml')
-rw-r--r--tests/auto/declarative/layouts/data/vertical-spacing-margin.qml26
1 files changed, 26 insertions, 0 deletions
diff --git a/tests/auto/declarative/layouts/data/vertical-spacing-margin.qml b/tests/auto/declarative/layouts/data/vertical-spacing-margin.qml
new file mode 100644
index 0000000..5de50b3
--- /dev/null
+++ b/tests/auto/declarative/layouts/data/vertical-spacing-margin.qml
@@ -0,0 +1,26 @@
+Item {
+ width: 640
+ height: 480
+ VerticalLayout {
+ spacing: 5
+ margin: 10
+ Rect {
+ id: one
+ color: "red"
+ width: 50
+ height: 50
+ }
+ Rect {
+ id: two
+ color: "red"
+ width: 20
+ height: 10
+ }
+ Rect {
+ id: three
+ color: "red"
+ width: 40
+ height: 20
+ }
+ }
+}