mirror of
https://gitlab.com/kelteseth/ScreenPlay.git
synced 2024-09-18 08:22:33 +02:00
Add background to default widget code
This commit is contained in:
parent
33f58a9364
commit
d1758d16a6
@ -5,8 +5,15 @@ Item {
|
|||||||
implicitWidth: 300
|
implicitWidth: 300
|
||||||
implicitHeight: 200
|
implicitHeight: 200
|
||||||
|
|
||||||
|
Rectangle {
|
||||||
|
id: background
|
||||||
|
anchors.fill:parent
|
||||||
|
opacity: 0.9
|
||||||
|
color: "#333333"
|
||||||
|
}
|
||||||
|
|
||||||
Text {
|
Text {
|
||||||
id: name
|
id: text
|
||||||
text: qsTr("My Widget 🚀")
|
text: qsTr("My Widget 🚀")
|
||||||
anchors.centerIn: parent
|
anchors.centerIn: parent
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user