Small improvements / fixes

This commit is contained in:
Raphael Coeffic
2022-06-11 15:13:11 +02:00
committed by Raphael Coeffic
parent 00fda7f4ae
commit dbe8405fe2
8 changed files with 15 additions and 7 deletions
-1
View File
@@ -58,7 +58,6 @@ TextEdit::TextEdit(Window *parent, const rect_t &rect, char *value,
lv_textarea_set_text(lvobj, value);
lv_textarea_set_placeholder_text(lvobj, "---");
lv_textarea_set_max_length(lvobj, length);
lv_textarea_set_cursor_pos(lvobj, 0);
if (width() == 0) {
lv_obj_set_width(lvobj, LV_DPI_DEF);