Hi! I’m a brand new Felgo user, and I’m trying to something pretty simple I’m just not sure why it isn’t working.
I’ve added a png file to my assets folder and it shows up in Qt Creator. It’s a play button icon that I want to put on an AppButton on my main page.
Here’s what my AppButton has so far:
AppButton {
icon: "../assets/playButton.png"
//text: "Go!"
backgroundColor: "green"
backgroundColorPressed: "darkgreen"
minimumWidth: 256
minimumHeight: 256
anchors.horizontalCenter: parent.horizontalCenter
}
Right now my image does not show up, it just puts the text of the filepath in the button instead.
Any help would be great. Thanks!