aboutsummaryrefslogtreecommitdiffstats
path: root/tests/auto/snippets/data/togglebutton/qtquickcontrols2-togglebutton-background.qml
diff options
context:
space:
mode:
Diffstat (limited to 'tests/auto/snippets/data/togglebutton/qtquickcontrols2-togglebutton-background.qml')
-rw-r--r--tests/auto/snippets/data/togglebutton/qtquickcontrols2-togglebutton-background.qml10
1 files changed, 10 insertions, 0 deletions
diff --git a/tests/auto/snippets/data/togglebutton/qtquickcontrols2-togglebutton-background.qml b/tests/auto/snippets/data/togglebutton/qtquickcontrols2-togglebutton-background.qml
new file mode 100644
index 00000000..1ae976f0
--- /dev/null
+++ b/tests/auto/snippets/data/togglebutton/qtquickcontrols2-togglebutton-background.qml
@@ -0,0 +1,10 @@
+import QtQuick 2.0
+import QtQuick.Controls 2.0
+
+ToggleButton {
+ text: "ToggleButton"
+ background: Rectangle {
+ color: "transparent"
+ border.color: "red"
+ }
+}