forked from enlightenment/efl
sorry yoz - u cant use min size set from outside the widget as wisgets
set it all the time themselves for read-only use outside. :) if uw ant this u have to accomplish this another way. eg table with genlist PLUS invisible rect obj at the same cell spot (0, 0, 1x1). and make the invisible rect have a min size hint. table takes care of using the "constraints" of both rect and gnelist then for sizing. :) SVN revision: 75044
This commit is contained in:
parent
4f0c004519
commit
8dbc93c237
|
@ -582,7 +582,7 @@ _elm_genlist_smart_sizing_eval(Evas_Object *obj)
|
|||
|
||||
if (sd->on_sub_del) return;;
|
||||
|
||||
evas_object_size_hint_min_get(obj, &minw, &minh);
|
||||
evas_object_size_hint_min_get(obj, &minw, NULL);
|
||||
evas_object_size_hint_max_get(obj, &maxw, &maxh);
|
||||
|
||||
edje_object_size_min_calc(ELM_WIDGET_DATA(sd)->resize_obj, &vmw, &vmh);
|
||||
|
@ -606,8 +606,7 @@ _elm_genlist_smart_sizing_eval(Evas_Object *obj)
|
|||
sd->calc_job = ecore_job_add(_calc_job, sd);
|
||||
}
|
||||
minw = vmw;
|
||||
if (minh < vmh)
|
||||
minh = vmh;
|
||||
minh = vmh;
|
||||
}
|
||||
else if (sd->mode == ELM_LIST_LIMIT)
|
||||
{
|
||||
|
@ -617,8 +616,7 @@ _elm_genlist_smart_sizing_eval(Evas_Object *obj)
|
|||
else
|
||||
{
|
||||
minw = vmw;
|
||||
if (minh < vmh)
|
||||
minh = vmh;
|
||||
minh = vmh;
|
||||
}
|
||||
|
||||
evas_object_size_hint_min_set(obj, minw, minh);
|
||||
|
|
Loading…
Reference in New Issue