How to set image background for button in ImGUI?

Hi,How to set image background for widget? thanks!

I don’t think that it’s possible, what I would do instead (which a bit more expensive - computationally speaking) would be to use a skia layer to shape my buttons instead or, if I remember well, the equivalent of drawimage in imgui. In this case I would combine it with “itemclick”. Once I get back to my place I will try to provide an example.

Thanks! I use skia layer.