[Title] Changed the display location of context menu in avaliable space
[Issue#] P130623-0376, P130619-0477
[Problem] Context menu is not visible fully when there is space
on the screen
[Cause] Context menu is having style to create menu on top direction.
So always the direction was top and the context menu was made scrollable
and was displayed at the end
[Solution] Added mutliple direction. Now context menu will be open in
the avaliable space
Change-Id: Id2515e94f15edd21cb4062804e43734743f4adbe
elm_object_style_set(m_popup,"copypaste");
elm_ctxpopup_horizontal_set(m_popup, EINA_TRUE);
- elm_ctxpopup_direction_priority_set(m_popup, ELM_CTXPOPUP_DIRECTION_UP, ELM_CTXPOPUP_DIRECTION_UP, ELM_CTXPOPUP_DIRECTION_UP, ELM_CTXPOPUP_DIRECTION_UP);
+ elm_ctxpopup_direction_priority_set(m_popup, ELM_CTXPOPUP_DIRECTION_UP, ELM_CTXPOPUP_DIRECTION_LEFT, ELM_CTXPOPUP_DIRECTION_RIGHT, ELM_CTXPOPUP_DIRECTION_DOWN);
m_pageClientImpl->changeContextMenuPosition(popupPosition);
}