1
0
mirror of https://gitlab.com/kelteseth/ScreenPlay.git synced 2024-09-14 22:42:34 +02:00

Add background to default widget code

This commit is contained in:
Elias Steurer 2023-01-26 13:13:22 +01:00
parent 33f58a9364
commit d1758d16a6

View File

@ -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
}