hermet pushed a commit to branch master.

http://git.enlightenment.org/tools/enventor.git/commit/?id=9fda7d34073368590ce0676ddb542db92fdef498

commit 9fda7d34073368590ce0676ddb542db92fdef498
Author: Hermet Park <her...@hermet.pe.kr>
Date:   Tue Feb 9 02:07:44 2016 +0900

    improve ux: change editor ctxpopup direction order.
    
    Come to think of it, up/down direction of ctxpopup is more comfortable
    to watch the values updation while modifying the values in ctxpopup.
---
 src/lib/ctxpopup.c | 14 +++++++-------
 1 file changed, 7 insertions(+), 7 deletions(-)

diff --git a/src/lib/ctxpopup.c b/src/lib/ctxpopup.c
index 7a86065..cbb27ef 100644
--- a/src/lib/ctxpopup.c
+++ b/src/lib/ctxpopup.c
@@ -604,10 +604,10 @@ ctxpopup_img_preview_create(edit_data *ed,
    elm_config_focus_autoscroll_mode_set(ELM_FOCUS_AUTOSCROLL_MODE_NONE);
 
    elm_object_style_set(ctxpopup, "enventor");
-   elm_ctxpopup_direction_priority_set(ctxpopup, ELM_CTXPOPUP_DIRECTION_LEFT,
-                                       ELM_CTXPOPUP_DIRECTION_UP,
+   elm_ctxpopup_direction_priority_set(ctxpopup, ELM_CTXPOPUP_DIRECTION_UP,
                                        ELM_CTXPOPUP_DIRECTION_DOWN,
-                                       ELM_CTXPOPUP_DIRECTION_RIGHT);
+                                       ELM_CTXPOPUP_DIRECTION_RIGHT,
+                                       ELM_CTXPOPUP_DIRECTION_LEFT);
    //ctxpopup data
    ctxpopup_data *ctxdata = calloc(1, sizeof(ctxpopup_data));
    if (!ctxdata)
@@ -658,10 +658,10 @@ ctxpopup_candidate_list_create(edit_data *ed, attr_value 
*attr,
    elm_config_focus_autoscroll_mode_set(ELM_FOCUS_AUTOSCROLL_MODE_NONE);
 
    elm_object_style_set(ctxpopup, "enventor");
-   elm_ctxpopup_direction_priority_set(ctxpopup, ELM_CTXPOPUP_DIRECTION_RIGHT,
-                                       ELM_CTXPOPUP_DIRECTION_LEFT,
-                                       ELM_CTXPOPUP_DIRECTION_UP,
-                                       ELM_CTXPOPUP_DIRECTION_DOWN);
+   elm_ctxpopup_direction_priority_set(ctxpopup, ELM_CTXPOPUP_DIRECTION_UP,
+                                       ELM_CTXPOPUP_DIRECTION_DOWN,
+                                       ELM_CTXPOPUP_DIRECTION_RIGHT,
+                                       ELM_CTXPOPUP_DIRECTION_LEFT);
    //ctxpopup data
    ctxpopup_data *ctxdata = calloc(1, sizeof(ctxpopup_data));
    if (!ctxdata)

-- 


Reply via email to