mirror of
https://github.com/lvgl/lvgl.git
synced 2025-01-28 07:03:00 +08:00
lv_ta_set_placeholder_text: fix placholder align
This commit is contained in:
parent
dd100e5e07
commit
8db8470a60
@ -541,6 +541,9 @@ void lv_ta_set_placeholder_text(lv_obj_t * ta, const char * txt)
|
||||
|
||||
lv_label_set_text(ext->placeholder, txt);
|
||||
|
||||
/*Refresh the placeholder's align*/
|
||||
lv_ta_set_text_align(ta, lv_label_get_align(ext->label));
|
||||
|
||||
placeholder_update(ta);
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user