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:18:45 -0400
commitc2ced46d2d07980153f0d4809d865f7e228d3b7d (patch)
tree4d6a3412a0a68d3ef971027c8b821a86ff92a885
parentb9c1cc2800ad0462e8b9e8785c79a49ace40f72f (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 6f37c55..45e32ac 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;