forked from enlightenment/efl
Just cut/ellipsis if text.min.x is not set.
This should fix the bug with the following code: collections { group { name: "main"; parts { part { name: "text"; type: TEXT; description { state: "default" 0.0; text { font: "Sans"; size: 72; text: "contents"; fit: 0 1; min: 1 0; } } } } } } SVN revision: 62639
This commit is contained in:
parent
f7d1b738e6
commit
ddc7fb9527
|
@ -562,6 +562,7 @@ _edje_text_recalc_apply(Edje *ed, Edje_Real_Part *ep,
|
|||
size = chosen_desc->text.size_range_min;
|
||||
|
||||
/* Handle ellipsis */
|
||||
if (!chosen_desc->text.min_x)
|
||||
{
|
||||
if (inlined_font) evas_object_text_font_source_set(ep->object, ed->path);
|
||||
else evas_object_text_font_source_set(ep->object, NULL);
|
||||
|
|
Loading…
Reference in New Issue