summaryrefslogtreecommitdiff
path: root/legacy/edje/src/lib/edje_text.c
diff options
context:
space:
mode:
authorCarsten Haitzler <raster@rasterman.com>2008-10-02 04:01:54 +0000
committerCarsten Haitzler <raster@rasterman.com>2008-10-02 04:01:54 +0000
commit8aed008df310d881d16564eda6f30fc927e855fb (patch)
tree3a8d7c4ba5d9604ba5038aba0c98a411882a42ac /legacy/edje/src/lib/edje_text.c
parent57e19854bfa564d55c40ad40f30ac5d83ade41b5 (diff)
fix a jitter with text fit if fit region tiny!
SVN revision: 36389
Diffstat (limited to 'legacy/edje/src/lib/edje_text.c')
-rw-r--r--legacy/edje/src/lib/edje_text.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/legacy/edje/src/lib/edje_text.c b/legacy/edje/src/lib/edje_text.c
index 70f0714..325fa95 100644
--- a/legacy/edje/src/lib/edje_text.c
+++ b/legacy/edje/src/lib/edje_text.c
@@ -157,6 +157,7 @@ _edje_text_fit_x(Edje *ed, Edje_Real_Part *ep,
157 size_t orig_len; 157 size_t orig_len;
158 158
159 *free_text = 0; 159 *free_text = 0;
160 if (sw <= 1) return "";
160 161
161 if (ep->part->scale) evas_object_scale_set(ep->object, _edje_scale); 162 if (ep->part->scale) evas_object_scale_set(ep->object, _edje_scale);
162 evas_object_text_font_set(ep->object, font, size); 163 evas_object_text_font_set(ep->object, font, size);