1
0
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:
embeddedt 2020-05-04 08:40:01 -04:00 committed by GitHub
parent 1633b2e6db
commit 7d42f08431
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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,