rimmed pushed a commit to branch master.

http://git.enlightenment.org/tools/eflete.git/commit/?id=cba51a3af118d11825406615caff7b8b725dcc43

commit cba51a3af118d11825406615caff7b8b725dcc43
Author: Vyacheslav Reutskiy <v.reuts...@samsung.com>
Date:   Fri Feb 12 15:15:26 2016 +0200

    popup: set the default popup orient to center
    
    Change-Id: I5da30211bc44b55a4497df8a06fed125b4039d41
---
 src/bin/ui/popup.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/bin/ui/popup.c b/src/bin/ui/popup.c
index d9e4865..c51cc90 100644
--- a/src/bin/ui/popup.c
+++ b/src/bin/ui/popup.c
@@ -99,6 +99,7 @@ popup_want_action(const char *title,
    ui_menu_items_list_disable_set(ap.menu, MENU_ITEMS_LIST_MAIN, true);
 
    popup = elm_popup_add(ap.win);
+   elm_popup_orient_set(popup, ELM_POPUP_ORIENT_CENTER);
    elm_object_part_text_set(popup, "title,text", title);
    elm_popup_content_text_wrap_type_set(popup, ELM_WRAP_WORD);
    if (msg) elm_object_text_set(popup, msg);

-- 


Reply via email to