Hi,
I inserted an image in a button. It is always aligned in the center on the X axis. Is it possible to align it to the left and put a text on the right?
Thanks
Walter
Hi,
I inserted an image in a button. It is always aligned in the center on the X axis. Is it possible to align it to the left and put a text on the right?
Thanks
Walter
Hi,
Sure! Buttons have LV_LAYOUT_CENTER
by default. Use lv_btn_set_layout(btn, LV_LAYOUT_OFF)
to disable it.