Merge pull request #724 from turoksama/dev-5.3

Fix an error in get_row_height.
This commit is contained in:
Themba D
2019-01-14 10:56:02 -05:00
committed by GitHub
+1 -1
View File
@@ -805,7 +805,7 @@ static lv_coord_t get_row_height(lv_obj_t * table, uint16_t row_id)
uint16_t row_start = row_id * ext->col_cnt;
uint16_t cell;
uint16_t col;
lv_coord_t h_max = lv_font_get_height(ext->cell_style[0]->text.font + 2 * ext->cell_style[0]->body.padding.ver);
lv_coord_t h_max = lv_font_get_height(ext->cell_style[0]->text.font) + 2 * ext->cell_style[0]->body.padding.ver;
for(cell = row_start, col = 0; cell < row_start + ext->col_cnt; cell++, col ++) {
if(ext->cell_data[cell] != NULL) {