cedric pushed a commit to branch master.
commit 05b202971914afdbab6b240f2c1c73a94da114f7
Author: Jaehyun Cho <[email protected]>
Date: Thu Jul 25 13:00:37 2013 +0900
edje: use eval coordinate to show TEXT part correctly.
---
src/lib/edje/edje_text.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/lib/edje/edje_text.c b/src/lib/edje/edje_text.c
index 13c88ac..1f508e2 100644
--- a/src/lib/edje/edje_text.c
+++ b/src/lib/edje/edje_text.c
@@ -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);
--
------------------------------------------------------------------------------
See everything from the browser to the database with AppDynamics
Get end-to-end visibility with application monitoring from AppDynamics
Isolate bottlenecks and diagnose root cause in seconds.
Start your free trial of AppDynamics Pro today!
http://pubads.g.doubleclick.net/gampad/clk?id=48808831&iu=/4140/ostg.clktrk