1
0
mirror of https://github.com/lvgl/lvgl.git synced 2025-01-14 06:42:58 +08:00

example(event_3): adjust widget size

This commit is contained in:
Gabor Kiss-Vamosi 2023-03-09 14:07:02 +01:00
parent f336ea7cb1
commit 28d4bff440

View File

@ -30,7 +30,7 @@ void lv_example_event_3(void)
uint32_t i;
for(i = 0; i < 30; i++) {
lv_obj_t * btn = lv_btn_create(cont);
lv_obj_set_size(btn, 80, 50);
lv_obj_set_size(btn, 70, 50);
lv_obj_add_flag(btn, LV_OBJ_FLAG_EVENT_BUBBLE);
lv_obj_t * label = lv_label_create(btn);