Default column high and width


I create table and set row and column count:

lv_obj_t* table = lv_table_create(lv_scr_act(), NULL);
lv_table_set_col_cnt(table, 2);
lv_table_set_row_cnt(table, 4);

How to set default column width and high for each column and row?

You can use lv_table_set_col_width() to set the col width.
As for height, there is no directly ways to do that, so you can try lv_obj_set_style_pad_ver(table, 15, LV_PART_ITEMS); to set the items height.

Is lv_obj_set_style_pad_ver also available in LVGL ver. 7 ? I can’t find it.

I am using the LVGL v8.0, As for ver.7, I am not sure, but you could try by using lv_obj_set_style_pad_ver!