elementary/ctxpopup - correct position and size of ctxpopup

Dear all,

With ctxpopup, if it has many items and user uses -1 as parameter in set direction priority function,
the ctxpopup position and size are calculated incorrectly.
Ex:
elm_ctxpopup_direction_priority_set(ctxpopup, ELM_CTXPOPUP_DIRECTION_DOWN, ELM_CTXPOPUP_DIRECTION_UP, -1, -1);

I would like to send a small patch to fix this issue.
Please take a look on it.

Thanks & Regards,
Thiep Ha

Signed-Off-By: Thiep ha<thiep.ha@samsung.com>



SVN revision: 76452
This commit is contained in:
ChunEon Park 2012-09-11 10:29:48 +00:00
parent 43c174b0fc
commit 3fec653c9b
1 changed files with 1 additions and 1 deletions

View File

@ -200,7 +200,7 @@ _base_geometry_calc(Evas_Object *obj,
break;
default:
break;
continue;
}
break;
}