forked from enlightenment/efl
elm/list: correctly handle ELM_LIST_COMPRESS
according to the docs, this mode means that no content size hints should be taken into account when calculating size hints for the overall object fix T7313 Differential Revision: https://phab.enlightenment.org/D6860
This commit is contained in:
parent
0f21b1f7aa
commit
791fc27c40
|
@ -778,6 +778,11 @@ _elm_list_mode_set_internal(Evas_Object *obj)
|
|||
sd->scr_minw = EINA_TRUE;
|
||||
sd->scr_minh = EINA_TRUE;
|
||||
}
|
||||
else if (sd->mode == ELM_LIST_COMPRESS)
|
||||
{
|
||||
sd->scr_minw = EINA_FALSE;
|
||||
sd->scr_minh = EINA_FALSE;
|
||||
}
|
||||
|
||||
elm_layout_sizing_eval(obj);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue