mirror of
https://github.com/lvgl/lvgl.git
synced 2025-01-14 06:42:58 +08:00
Ensure table always updates if values change
https://forum.littlevgl.com/t/table-not-updating-values-v7-dev/2190
This commit is contained in:
parent
1633b2e6db
commit
7d42f08431
@ -1011,6 +1011,7 @@ static void refr_size(lv_obj_t * table)
|
||||
h += bg_top + bg_bottom;
|
||||
|
||||
lv_obj_set_size(table, w + 1, h + 1);
|
||||
lv_obj_invalidate(table); /*Always invalidate even if the size hasn't changed*/
|
||||
}
|
||||
|
||||
static lv_coord_t get_row_height(lv_obj_t * table, uint16_t row_id, const lv_font_t ** font,
|
||||
|
Loading…
x
Reference in New Issue
Block a user