1
0
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:
Gabor Kiss-Vamosi 2019-11-02 21:34:41 +01:00
parent dd100e5e07
commit 8db8470a60

View File

@ -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);
}