summaryrefslogtreecommitdiffstats
path: root/doc/src/snippets/declarative/GroupBox.qml
diff options
context:
space:
mode:
Diffstat (limited to 'doc/src/snippets/declarative/GroupBox.qml')
-rw-r--r--doc/src/snippets/declarative/GroupBox.qml13
1 files changed, 13 insertions, 0 deletions
diff --git a/doc/src/snippets/declarative/GroupBox.qml b/doc/src/snippets/declarative/GroupBox.qml
new file mode 100644
index 0000000..fd8d60b
--- /dev/null
+++ b/doc/src/snippets/declarative/GroupBox.qml
@@ -0,0 +1,13 @@
+ContentWrapper {
+ id: Container; width: parent.width; height: contents.height
+ children: [
+ Rect {
+ 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 { }
+ }
+ }
+ ]
+}