feat(style) add transform_x/y
This commit is contained in:
@@ -24,7 +24,7 @@ void lv_example_flex_1(void)
|
||||
lv_obj_t * label;
|
||||
|
||||
/*Add items to the row*/
|
||||
obj= lv_obj_create(cont_row);
|
||||
obj= lv_btn_create(cont_row);
|
||||
lv_obj_set_size(obj, 100, LV_SIZE_PCT(100));
|
||||
|
||||
label = lv_label_create(obj);
|
||||
@@ -32,7 +32,7 @@ void lv_example_flex_1(void)
|
||||
lv_obj_center(label);
|
||||
|
||||
/*Add items to the column*/
|
||||
obj = lv_obj_create(cont_col);
|
||||
obj = lv_btn_create(cont_col);
|
||||
lv_obj_set_size(obj, LV_SIZE_PCT(100), LV_SIZE_CONTENT);
|
||||
|
||||
label = lv_label_create(obj);
|
||||
|
||||
Reference in New Issue
Block a user