I have a QML control to show a .svg picture. And I hope the color of the .svg fit my userdefined theme. But I don’t konw how to change the color of the svg.
I have a Image control
like is, but there is no color property
for me. How can I do?
<code>Image {
id: icon
anchors{
top: parent.top
bottom: parent.bottom
right: parent.right
}
width: height
source: "../Image/BxChevronDown.svg"
}
</code>
<code>Image {
id: icon
anchors{
top: parent.top
bottom: parent.bottom
right: parent.right
}
width: height
source: "../Image/BxChevronDown.svg"
}
</code>
Image {
id: icon
anchors{
top: parent.top
bottom: parent.bottom
right: parent.right
}
width: height
source: "../Image/BxChevronDown.svg"
}
New contributor
CryCat is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.