Efl.Ui.Box: Fix direction set
authorJean-Philippe Andre <jp.andre@samsung.com>
Thu, 2 Jun 2016 09:32:47 +0000 (18:32 +0900)
committerJean-Philippe Andre <jp.andre@samsung.com>
Fri, 3 Jun 2016 06:29:01 +0000 (15:29 +0900)
VERTICAL means UP but UP was ignored...

src/lib/elementary/efl_ui_box.c

index 9f8291f..fe30fe0 100644 (file)
@@ -567,13 +567,13 @@ _efl_ui_box_efl_pack_linear_pack_direction_set(Eo *obj, Efl_Ui_Box_Data *pd, Efl
 {
    switch (dir)
      {
-      //case EFL_ORIENT_UP:
+      case EFL_ORIENT_UP:
       case EFL_ORIENT_DOWN:
         pd->orient = EFL_ORIENT_DOWN;
         break;
 
       case EFL_ORIENT_RIGHT:
-        //case EFL_ORIENT_LEFT:
+      case EFL_ORIENT_LEFT:
       default:
         pd->orient = EFL_ORIENT_RIGHT;
         break;