efl: update edje text part geometry after setting the text.
authorCedric BAIL <cedric.bail@free.fr>
Fri, 11 Jan 2013 06:58:25 +0000 (06:58 +0000)
committerCedric BAIL <cedric.bail@free.fr>
Fri, 11 Jan 2013 06:58:25 +0000 (06:58 +0000)
SVN revision: 82615

src/lib/edje/edje_text.c

index 907f5d2..2604382 100644 (file)
@@ -396,6 +396,8 @@ _edje_text_recalc_apply(Edje *ed, Edje_Real_Part *ep,
        text = _edje_text_fit_x(ed, ep, params,
                                text, font, size,
                                 sw, sh, &free_text);
+        eo_do(ep->object,
+              evas_obj_size_get(NULL, &sh));
      }
 
    eina_stringshare_replace(&ep->typedata.text->cache.out_str, text);