refactor(layout) rename place keywords to align

This commit is contained in:
Gabor Kiss-Vamosi
2021-04-24 16:48:24 +02:00
parent 8c44edf33e
commit 31474538ad
17 changed files with 166 additions and 167 deletions

View File

@@ -32,8 +32,8 @@ void lv_example_grid_3(void)
obj = lv_obj_create(cont);
/*Stretch the cell horizontally and vertically too
*Set span to 1 to make the cell 1 column/row sized*/
lv_obj_set_grid_cell(obj, LV_GRID_STRETCH, col, 1,
LV_GRID_STRETCH, row, 1);
lv_obj_set_grid_cell(obj, LV_GRID_ALIGN_STRETCH, col, 1,
LV_GRID_ALIGN_STRETCH, row, 1);
label = lv_label_create(obj);
lv_label_set_text_fmt(label, "%d,%d", col, row);