Efl.Ui.Box: Fix direction set

VERTICAL means UP but UP was ignored...
This commit is contained in:
Jean-Philippe Andre 2016-06-02 18:32:47 +09:00
parent 8f82e93368
commit 5fd02a79cc
1 changed files with 2 additions and 2 deletions

View File

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