In ver 6, I had no problem with
lv_img_set_offset_y, but in ver 7, it seems that something has changed about it.
consider this picture as the source of the img object.
Each part has a size of 100 * 50.
In ver 6, if I wanted to display part 7, I had to write sth like this:
lv_img_set_offset_x(img_power_status, 100); lv_img_set_offset_y(img_power_status, 100);
But now this doesn’t work and instead shows part 6. and seems if I want to show it correctly I should write it like this:
lv_img_set_offset_x(img_power_status, 100); lv_img_set_offset_y(img_power_status, -100);
Is it a bug or something else?
What MCU/Processor/Board and compiler are you using?
stm32f429igt6, cubeide, gcc
What LVGL version are you using?