feat(style) add transform_x/y

This commit is contained in:
Gabor Kiss-Vamosi
2021-04-15 18:31:50 +02:00
parent e4345bd7f5
commit 9787d38781
11 changed files with 85 additions and 25 deletions

View File

@@ -25,7 +25,7 @@ void lv_example_grid_1(void)
uint8_t col = i % 3;
uint8_t row = i / 3;
obj = lv_obj_create(cont);
obj = lv_btn_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,