I have imported this svg on button.
However, it doesn’t display exactly.
Only background color is imported.
How to build same button including Gradient, radius, shadow, stroke and so on?
Button {
id: inputRisk
width: 110
height: 110
background: Rectangle {
id: inputRiskbackgroung
implicitWidth: 110
implicitHeight: 110
anchors.fill: parent
Image {
id: inputRiskImage
source: "qrc/Main (1).svg"
anchors.fill: parent
}
}
}
This is my current code.
I updated QML code but I cant see the change of result