Revert "index: fix index object got a wrong min value."
Summary: I need to think more about item omitted case, horizontal case as well. Now i'm working on this. It may need to refactoring internal logic. Please revert this commit it break view when index item omitted. @fix This reverts commit 560338c5c31bda8912938074cb736eabdb9f1f31. Reviewers: Hermet, cedric, woohyun Differential Revision: https://phab.enlightenment.org/D3062 Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
This commit is contained in:
parent
8fa0d0059b
commit
af6fb9dc02
|
@ -506,9 +506,9 @@ EOLIAN static void
|
|||
_elm_index_elm_layout_sizing_eval(Eo *obj, Elm_Index_Data *_pd EINA_UNUSED)
|
||||
{
|
||||
Evas_Coord minw = -1, minh = -1;
|
||||
ELM_INDEX_DATA_GET(obj, sd);
|
||||
ELM_WIDGET_DATA_GET_OR_RETURN(obj, wd);
|
||||
|
||||
evas_object_size_hint_min_get(sd->bx[sd->level], &minw, &minh);
|
||||
edje_object_size_min_calc(wd->resize_obj, &minw, &minh);
|
||||
evas_object_size_hint_min_set(obj, minw, minh);
|
||||
evas_object_size_hint_max_set(obj, -1, -1);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue