Skip to content

Commit

Permalink
fix(checkbox) add missing invalifations
Browse files Browse the repository at this point in the history
  • Loading branch information
kisvegabor committed Sep 13, 2021
1 parent f215174 commit bb39e9d
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/widgets/lv_checkbox.c
Expand Up @@ -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)
Expand All @@ -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);
}

/*=====================
Expand Down

0 comments on commit bb39e9d

Please sign in to comment.