fix a jitter with text fit if fit region tiny!

SVN revision: 36389
This commit is contained in:
Carsten Haitzler 2008-10-02 04:01:54 +00:00
parent 57e19854bf
commit 8aed008df3
1 changed files with 1 additions and 0 deletions

View File

@ -157,6 +157,7 @@ _edje_text_fit_x(Edje *ed, Edje_Real_Part *ep,
size_t orig_len;
*free_text = 0;
if (sw <= 1) return "";
if (ep->part->scale) evas_object_scale_set(ep->object, _edje_scale);
evas_object_text_font_set(ep->object, font, size);