els_box: fix item sizing error

Summary:
Although items' size hint align are not set to fill,
Elm.Box expands its items.
This patch fixes item sizing error.

Test Plan: attached sample

Reviewers: cedric, jpeg, Hermet, Jaehyun, Jaehyun_Cho

Differential Revision: https://phab.enlightenment.org/D3667
This commit is contained in:
Jee-Yong Um 2016-02-12 19:50:55 +09:00 committed by Hermet Park
parent f420ed7707
commit e1a0dc5518
1 changed files with 2 additions and 2 deletions

View File

@ -14,8 +14,8 @@ _box_object_aspect_calc(int *ow, int *oh, int minw, int minh, int maxw, int maxh
int ww /* "maximum" width */, int hh /* "maximum" height */,
Evas_Aspect_Control aspect, double ratio)
{
if (*ow < minw) *ow = minw;
if (*oh < minh) *oh = minh;
*ow = minw;
*oh = minh;
switch (aspect)
{