refactor(btn, img): rename btn to button and img to image
This commit is contained in:
@@ -63,7 +63,7 @@ void lv_example_scroll_6(void)
|
||||
|
||||
uint32_t i;
|
||||
for(i = 0; i < 20; i++) {
|
||||
lv_obj_t * btn = lv_btn_create(cont);
|
||||
lv_obj_t * btn = lv_button_create(cont);
|
||||
lv_obj_set_width(btn, lv_pct(100));
|
||||
|
||||
lv_obj_t * label = lv_label_create(btn);
|
||||
|
||||
Reference in New Issue
Block a user