forked from enlightenment/efl
elm_table: do not propagate max size
evas table does not set max size, propagating this triggers unnecessary callbacks @fix
This commit is contained in:
parent
049d0c1f4c
commit
b43a2d55e1
|
@ -130,14 +130,12 @@ _elm_table_elm_widget_theme_apply(Eo *obj, void *sd EINA_UNUSED)
|
||||||
static void
|
static void
|
||||||
_sizing_eval(Evas_Object *obj)
|
_sizing_eval(Evas_Object *obj)
|
||||||
{
|
{
|
||||||
Evas_Coord minw = 0, minh = 0, maxw = -1, maxh = -1;
|
Evas_Coord minw = 0, minh = 0;
|
||||||
|
|
||||||
ELM_WIDGET_DATA_GET_OR_RETURN(obj, wd);
|
ELM_WIDGET_DATA_GET_OR_RETURN(obj, wd);
|
||||||
|
|
||||||
efl_gfx_size_hint_combined_min_get(wd->resize_obj, &minw, &minh);
|
efl_gfx_size_hint_combined_min_get(wd->resize_obj, &minw, &minh);
|
||||||
evas_object_size_hint_max_get(wd->resize_obj, &maxw, &maxh);
|
|
||||||
evas_object_size_hint_min_set(obj, minw, minh);
|
evas_object_size_hint_min_set(obj, minw, minh);
|
||||||
evas_object_size_hint_max_set(obj, maxw, maxh);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
static void
|
static void
|
||||||
|
|
Loading…
Reference in New Issue