mirror of
https://github.com/lvgl/lvgl.git
synced 2026-06-01 00:51:49 +08:00
Merge pull request #724 from turoksama/dev-5.3
Fix an error in get_row_height.
This commit is contained in:
+1
-1
@@ -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 row_start = row_id * ext->col_cnt;
|
||||||
uint16_t cell;
|
uint16_t cell;
|
||||||
uint16_t col;
|
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 ++) {
|
for(cell = row_start, col = 0; cell < row_start + ext->col_cnt; cell++, col ++) {
|
||||||
if(ext->cell_data[cell] != NULL) {
|
if(ext->cell_data[cell] != NULL) {
|
||||||
|
|||||||
Reference in New Issue
Block a user