mirror of
https://github.com/lvgl/lvgl.git
synced 2026-05-20 21:35:19 +08:00
chore: revert test code from lv_example_btn_1
This commit is contained in:
@@ -20,10 +20,7 @@ void lv_example_btn_1(void)
|
||||
lv_obj_t * btn1 = lv_btn_create(lv_scr_act());
|
||||
lv_obj_add_event(btn1, event_handler, LV_EVENT_ALL, NULL);
|
||||
lv_obj_align(btn1, LV_ALIGN_CENTER, 0, -40);
|
||||
lv_obj_set_size(btn1, 182, 105);
|
||||
lv_obj_set_style_transform_angle(btn1, 300, 0);
|
||||
lv_obj_set_style_radius(btn1, 0, 0);
|
||||
lv_obj_set_style_shadow_width(btn1, 0, 0);
|
||||
lv_obj_clear_flag(btn1, LV_OBJ_FLAG_PRESS_LOCK);
|
||||
|
||||
label = lv_label_create(btn1);
|
||||
lv_label_set_text(label, "Button");
|
||||
|
||||
Reference in New Issue
Block a user