Hmmm... What is this enum for then?
On 3/27/2021 1:27 PM, Giuseppe D'Angelo via Interest wrote:
On 27/03/2021 07:00, Alexander Dyagilev wrote:
Rectangle {color: "transparent"} - getting transparent rectangle
This is fine.
Rectangle {color: Qt.transparent} - getting rectangle filled with white
color
This one is illegal. You can't set an enum or an int to a "color" type
in QML.
https://doc.qt.io/qt-5/qml-color.html
You are getting an error message on the console.
HTH,
_______________________________________________
Interest mailing list
Interest@qt-project.org
https://lists.qt-project.org/listinfo/interest
_______________________________________________
Interest mailing list
Interest@qt-project.org
https://lists.qt-project.org/listinfo/interest