summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorThiep Ha <thiep.ha@samsung.com>2012-07-30 15:13:10 +0900
committerThiep Ha <thiep.ha@samsung.com>2012-07-30 15:13:10 +0900
commit64fe8a9deee8c8040c6e9d159c1eace8a29dd37a (patch)
tree418103e835db5afa246fab023b95f2d337462a8b /src
parent14aece923df27a9649a5f018396a6390eebcc2c8 (diff)
downloadedje-64fe8a9deee8c8040c6e9d159c1eace8a29dd37a.tar.gz
edje-64fe8a9deee8c8040c6e9d159c1eace8a29dd37a.tar.bz2
edje-64fe8a9deee8c8040c6e9d159c1eace8a29dd37a.zip
Edje Entry: Fix bug of selection handler is displayed below IME (S1-6273 on JIRA)
Change-Id: I30356fef9c5dfa271dd3e2b7ae8821599ee3ad4e
Diffstat (limited to 'src')
-rw-r--r--src/lib/edje_entry.c8
1 files changed, 2 insertions, 6 deletions
diff --git a/src/lib/edje_entry.c b/src/lib/edje_entry.c
index f2b7398..18693a1 100644
--- a/src/lib/edje_entry.c
+++ b/src/lib/edje_entry.c
@@ -796,10 +796,8 @@ _sel_update(Evas_Textblock_Cursor *c __UNUSED__, Evas_Object *o, Entry *en)
{
Evas_Coord nx, ny, handler_height = 0;
const char *bh_position = edje_object_data_get(en->block_handler_top, "position");
- const char *key_data = NULL;
- key_data = edje_object_data_get(en->block_handler_top, "height");
- if (key_data) handler_height = atoi(key_data);
+ edje_object_part_geometry_get(en->block_handler_top, "handle", NULL, NULL, NULL, &handler_height);
if (bh_position && !strcmp(bh_position, "BOTTOM"))
{
@@ -840,10 +838,8 @@ _sel_update(Evas_Textblock_Cursor *c __UNUSED__, Evas_Object *o, Entry *en)
if (list_idx == list_cnt)
{
Evas_Coord nx, ny, handler_height = 0;
- const char *key_data = NULL;
- key_data = edje_object_data_get(en->block_handler_btm, "height");
- if (key_data) handler_height = atoi(key_data);
+ edje_object_part_geometry_get(en->block_handler_btm, "handle", NULL, NULL, NULL, &handler_height);
nx = x + r->x + r->w;
ny = y + r->y + r->h;