summaryrefslogtreecommitdiff
path: root/src/lib/edje/edje_text.c
diff options
context:
space:
mode:
authorEderson Desouza <ederson.desouza@intel.com>2013-06-03 12:02:16 -0300
committerGustavo Lima Chaves <glima@profusion.mobi>2013-06-03 12:02:16 -0300
commitb52a380a5f3e198c25b27e540315268c75e6d6cf (patch)
tree77b0f5acdf787d9bab049d61058e7fd36c9fa16a /src/lib/edje/edje_text.c
parentad7622b94af34431ca76aba13ebe2adc94d5e3d2 (diff)
Support for -1.0 @ text ellipsis fields -- for not ellipsizing it at all.
Diffstat (limited to 'src/lib/edje/edje_text.c')
-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 bb1cf9a..964bc83 100644
--- a/src/lib/edje/edje_text.c
+++ b/src/lib/edje/edje_text.c
@@ -91,6 +91,9 @@ _edje_text_fit_x(Edje *ed, Edje_Real_Part *ep,
91 *free_text = 0; 91 *free_text = 0;
92 if (sw <= 1) return ""; 92 if (sw <= 1) return "";
93 93
94 if (params->type.text.elipsis < 0)
95 return text;
96
94 if (ep->part->scale) evas_object_scale_set(ep->object, TO_DOUBLE(sc)); 97 if (ep->part->scale) evas_object_scale_set(ep->object, TO_DOUBLE(sc));
95 98
96 eo_do(ep->object, 99 eo_do(ep->object,