mirror of
https://github.com/lvgl/lvgl.git
synced 2025-01-28 07:03:00 +08:00
fix(checkbox) add missing invalifations
This commit is contained in:
parent
f215174999
commit
bb39e9d6f9
@ -85,6 +85,7 @@ void lv_checkbox_set_text(lv_obj_t * obj, const char * txt)
|
||||
cb->static_txt = 0;
|
||||
|
||||
lv_obj_refresh_self_size(obj);
|
||||
lv_obj_invalidate(obj);
|
||||
}
|
||||
|
||||
void lv_checkbox_set_text_static(lv_obj_t * obj, const char * txt)
|
||||
@ -97,6 +98,7 @@ void lv_checkbox_set_text_static(lv_obj_t * obj, const char * txt)
|
||||
cb->static_txt = 1;
|
||||
|
||||
lv_obj_refresh_self_size(obj);
|
||||
lv_obj_invalidate(obj);
|
||||
}
|
||||
|
||||
/*=====================
|
||||
|
Loading…
x
Reference in New Issue
Block a user