Community Tip - Did you know you can set a signature that will be added to all your posts? Set it here! X
Hi,
I'm not able to set background image on Shape widget.
Could any one help me on this
Thanks in advance
/VR
Hi @Velkumar , In think in older version image background was not supported with shapes . Need to check with new version
are you referring to changing the background style on shape widget? Some thing like this ?
Hi @Velkumar,
The shape widget is basically an SVG in HTML. The problem with SVG is that you need to apply filters with CSS to get those images in.
example: https://stackoverflow.com/questions/3796025/fill-svg-path-element-with-a-background-image
What is your final goal of setting a background a widget? Because the Panel widget can do what you are trying there, or the Button can have an icon(background image in style definition) so you can have that click event.
BR,
Gabriel
Hello VelKumar,
If the previous response answered your question, please mark it as the Accepted Solution for the benefit of others with the same question. If you still have issues, please let us know.
Thanks
Om Dukiya