Hello,
I am trying to use Entry widget. I need non-editable single line text with ellipses at the end in case if text is longer than needed. Is it possible to implement this with Entry? I don’t want to use label widget.
elm_entry_single_line_set(my_entry, EINA_TRUE);
elm_entry_editable_set(my_entry, EINA_FALSE);
evas_object_size_hint_max_set(my_entry, 200, 64);
I faced the following problems with the Entry widget:
1. If text is too long then the Entry grows infinitely.
Is it possible to make it fix-sized and show ellipses at the end if text is too long?
2. I tried to set up its style:
char *user_style = "DEFAULT='font=Tizen:style=Regular font_size=15 ellipsis=1.0'";
elm_entry_text_style_user_push(my_entry, user_style);
I tried different styles, but it seems that this function doesn’t work at all. Nothing was changed.
Can anybody guide me how to avoid the issues above?
Thanks!