Imagebutton lvgl V9.1

Hello developers team
I have read this report,

but it seems it’s still a problem in V9.1. I have used other features like graph, label, simple button from example folder, but image button still doesn’t work. even with setting width.

:sob:
I am crying
help me

1 Like

solved

How did you solve the problem? What was the cause of it? I’m trying to get my UI work in simulator (VS2017) and imagebutton example doesnt work. Animation not showing at all, but calback event working. I absolutely have no idea how to solve this. (I assume that problem somehow related to image creation that im trying to use, wrong parent may be?).

This is all just documentation misunderstanding, do not create additional images for imagebutton.
lv_imagebutton_set_src accept direct image path not image itself.