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

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,