From 4d43b99702e8fcac29faaa8218a558df0f37fe83 Mon Sep 17 00:00:00 2001 From: Yin Zhong Date: Fri, 23 Jul 2021 00:49:59 -0700 Subject: [PATCH] doc(table) update doc on cell merging (#2397) See https://github.com/lvgl/lvgl/issues/2276#issuecomment-884776230 --- docs/widgets/core/table.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/widgets/core/table.md b/docs/widgets/core/table.md index 53f419aa8..81f7d3a44 100644 --- a/docs/widgets/core/table.md +++ b/docs/widgets/core/table.md @@ -40,7 +40,7 @@ The height is calculated automatically from the cell styles (font, padding etc) ### Merge cells -Cells can be merged horizontally with `lv_table_set_cell_merge_right(table, col, row, true)`. To merge more adjacent cells call this function for each cell. +Cells can be merged horizontally with `lv_table_add_cell_ctrl(table, row, col, LV_TABLE_CELL_CTRL_MERGE_RIGHT)`. To merge more adjacent cells call this function for each cell. ### Scroll If the label's width or height is set to `LV_SIZE_CONTENT` that size will be used to show the whole table in the respective direction.