edje: use eval coordinate to show TEXT part correctly.

This commit is contained in:
Jaehyun Cho 2013-07-25 13:00:37 +09:00 committed by Cedric Bail
parent 569b2fd86a
commit 05b2029719
1 changed files with 4 additions and 4 deletions

View File

@ -232,8 +232,8 @@ _edje_text_recalc_apply(Edje *ed, Edje_Real_Part *ep,
int l, r, t, b;
evas_object_text_style_pad_get(ep->object, &l, &r, &t, &b);
sw = params->final.w;
sh = params->final.h;
sw = TO_INT(params->eval.w);
sh = TO_INT(params->eval.h);
}
size = params->type.text.size;
@ -443,8 +443,8 @@ arrange_text:
}
evas_object_move(ep->object,
ed->x + params->final.x + ep->typedata.text->offset.x,
ed->y + params->final.y + ep->typedata.text->offset.y);
ed->x + TO_INT(params->eval.x) + ep->typedata.text->offset.x,
ed->y + TO_INT(params->eval.y) + ep->typedata.text->offset.y);
if (params->visible) evas_object_show(ep->object);
else evas_object_hide(ep->object);