Lines Matching refs:placeholder
118 ext->placeholder = NULL; in lv_ta_create()
515 if(ext->placeholder == NULL) { in lv_ta_set_placeholder_text()
516 ext->placeholder = lv_label_create(ta, NULL); in lv_ta_set_placeholder_text()
519 lv_label_set_long_mode(ext->placeholder, LV_LABEL_LONG_EXPAND); in lv_ta_set_placeholder_text()
521 lv_label_set_long_mode(ext->placeholder, LV_LABEL_LONG_BREAK); in lv_ta_set_placeholder_text()
525 lv_label_set_text(ext->placeholder, txt); in lv_ta_set_placeholder_text()
698 if(ext->placeholder) lv_label_set_long_mode(ext->placeholder, LV_LABEL_LONG_EXPAND); in lv_ta_set_one_line()
706 if(ext->placeholder) lv_label_set_long_mode(ext->placeholder, LV_LABEL_LONG_BREAK); in lv_ta_set_one_line()
808 if(ext->placeholder) lv_label_set_style(ext->placeholder, LV_LABEL_STYLE_MAIN, style); in lv_ta_set_style()
920 if(ext->placeholder) txt = lv_label_get_text(ext->label); in lv_ta_get_placeholder_text()
1031 if(ext->placeholder) style = lv_label_get_style(ext->placeholder, LV_LABEL_STYLE_MAIN); in lv_ta_get_style()
1339 if(ext->placeholder) { in lv_ta_signal()
1340 lv_obj_set_width(ext->placeholder, lv_page_get_fit_width(ta)); in lv_ta_signal()
1341 lv_obj_set_pos(ext->placeholder, style_scrl->body.padding.left, in lv_ta_signal()
1361 if(ext->placeholder) { in lv_ta_signal()
1365 lv_obj_set_width(ext->placeholder, lv_page_get_fit_width(ta)); in lv_ta_signal()
1366 … lv_obj_set_pos(ext->placeholder, style_scrl->body.padding.left, style_scrl->body.padding.top); in lv_ta_signal()
1367 lv_label_set_text(ext->placeholder, NULL); /*Refresh the label*/ in lv_ta_signal()
1717 if(ext->placeholder == NULL) return; in placeholder_update()
1725 … lv_obj_set_pos(ext->placeholder, style_scrl->body.padding.left, style_scrl->body.padding.top); in placeholder_update()
1728 lv_obj_set_width(ext->placeholder, lv_page_get_fit_width(ta)); in placeholder_update()
1729 lv_obj_set_hidden(ext->placeholder, false); in placeholder_update()
1731 lv_obj_set_hidden(ext->placeholder, true); in placeholder_update()