summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Blumenkrantz <zmike@samsung.com>2014-04-22 19:17:13 -0400
committerMike Blumenkrantz <zmike@samsung.com>2014-04-22 19:19:56 -0400
commitd7af4c1ff5dce5f380ea16ad28e96e2723cafcb8 (patch)
tree303da0d5823882ebd8cebc42b0a8c825a4defadc
parent1f363c488e1f234593aaf3b01a16357616a84fa8 (diff)
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
-rw-r--r--src/lib/edje/edje_text.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/lib/edje/edje_text.c b/src/lib/edje/edje_text.c
index 6f37c55f2d..45e32acfc6 100644
--- a/src/lib/edje/edje_text.c
+++ b/src/lib/edje/edje_text.c
@@ -411,6 +411,9 @@ _edje_text_recalc_apply(Edje *ed, Edje_Real_Part *ep,
411 text, font, size, 411 text, font, size,
412 sw, sh, &free_text); 412 sw, sh, &free_text);
413 } 413 }
414 else
415 eo_do(ep->object,
416 evas_obj_text_ellipsis_set(params->type.text.elipsis));
414 417
415 eina_stringshare_replace(&ep->typedata.text->cache.out_str, text); 418 eina_stringshare_replace(&ep->typedata.text->cache.out_str, text);
416 ep->typedata.text->cache.in_w = sw; 419 ep->typedata.text->cache.in_w = sw;