mirror of
https://github.com/lvgl/lvgl.git
synced 2025-02-04 07:13:00 +08:00
fix(example) revert text code from lv_example_checkbox_2
This commit is contained in:
parent
73e036bba7
commit
28e9593e58
@ -59,7 +59,7 @@ void lv_example_checkbox_2(void)
|
|||||||
lv_obj_set_size(cont1, lv_pct(40), lv_pct(80));
|
lv_obj_set_size(cont1, lv_pct(40), lv_pct(80));
|
||||||
lv_obj_add_event_cb(cont1, radio_event_handler, LV_EVENT_CLICKED, &active_index_1);
|
lv_obj_add_event_cb(cont1, radio_event_handler, LV_EVENT_CLICKED, &active_index_1);
|
||||||
|
|
||||||
for (i = 0;i < 1;i++) {
|
for (i = 0;i < 5;i++) {
|
||||||
lv_snprintf(buf, sizeof(buf), "A %d", i + 1);
|
lv_snprintf(buf, sizeof(buf), "A %d", i + 1);
|
||||||
radiobutton_create(cont1, buf);
|
radiobutton_create(cont1, buf);
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user