forked from enlightenment/efl
edje now correctly forces ellipsis setting on text parts
this should always be applied, not just when min_x isn't set; failure to do so causes erroneous ellipsizing in some cases where it should be explicitly prohibited @fix
This commit is contained in:
parent
b9c1cc2800
commit
c2ced46d2d
|
@ -411,6 +411,9 @@ _edje_text_recalc_apply(Edje *ed, Edje_Real_Part *ep,
|
||||||
text, font, size,
|
text, font, size,
|
||||||
sw, sh, &free_text);
|
sw, sh, &free_text);
|
||||||
}
|
}
|
||||||
|
else
|
||||||
|
eo_do(ep->object,
|
||||||
|
evas_obj_text_ellipsis_set(params->type.text.elipsis));
|
||||||
|
|
||||||
eina_stringshare_replace(&ep->typedata.text->cache.out_str, text);
|
eina_stringshare_replace(&ep->typedata.text->cache.out_str, text);
|
||||||
ep->typedata.text->cache.in_w = sw;
|
ep->typedata.text->cache.in_w = sw;
|
||||||
|
|
Loading…
Reference in New Issue