mirror of
https://github.com/lvgl/lvgl.git
synced 2026-05-30 15:17:33 +08:00
fix(table): refresh cell size after ctrl change
as merge or crop can change the text line count
This commit is contained in:
committed by
Felipe Neves
parent
2e5931bb91
commit
47f3c65008
@@ -338,6 +338,7 @@ void lv_table_set_cell_ctrl(lv_obj_t * obj, uint32_t row, uint32_t col, lv_table
|
|||||||
}
|
}
|
||||||
|
|
||||||
table->cell_data[cell]->ctrl |= ctrl;
|
table->cell_data[cell]->ctrl |= ctrl;
|
||||||
|
refr_cell_size(obj, row, col);
|
||||||
}
|
}
|
||||||
|
|
||||||
void lv_table_clear_cell_ctrl(lv_obj_t * obj, uint32_t row, uint32_t col, lv_table_cell_ctrl_t ctrl)
|
void lv_table_clear_cell_ctrl(lv_obj_t * obj, uint32_t row, uint32_t col, lv_table_cell_ctrl_t ctrl)
|
||||||
|
|||||||
Reference in New Issue
Block a user