From d1758d16a635e48aa0f31c9d5850d9e0c4566d61 Mon Sep 17 00:00:00 2001 From: Elias Steurer Date: Thu, 26 Jan 2023 13:13:22 +0100 Subject: [PATCH] Add background to default widget code --- ScreenPlay/qml/Create/WizardsFiles/QMLWidgetMain.qml | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/ScreenPlay/qml/Create/WizardsFiles/QMLWidgetMain.qml b/ScreenPlay/qml/Create/WizardsFiles/QMLWidgetMain.qml index a5fad5f2..1c7c35a9 100644 --- a/ScreenPlay/qml/Create/WizardsFiles/QMLWidgetMain.qml +++ b/ScreenPlay/qml/Create/WizardsFiles/QMLWidgetMain.qml @@ -5,8 +5,15 @@ Item { implicitWidth: 300 implicitHeight: 200 + Rectangle { + id: background + anchors.fill:parent + opacity: 0.9 + color: "#333333" + } + Text { - id: name + id: text text: qsTr("My Widget 🚀") anchors.centerIn: parent }