diff options
author | Mike Blumenkrantz <zmike@samsung.com> | 2018-08-17 12:51:51 -0400 |
---|---|---|
committer | Mike Blumenkrantz <zmike@samsung.com> | 2018-08-17 12:51:51 -0400 |
commit | ef9702d7c1ea32a5166f6aeed4e4738a80af49aa (patch) | |
tree | 403ed688e3084fc328d0da69bcba1b45aea392f5 | |
parent | 5a1aa02156a257291bca7ecf004fe983d69b8885 (diff) | |
download | efl-ef9702d7c1ea32a5166f6aeed4e4738a80af49aa.tar.gz |
elm/list: correctly handle ELM_LIST_COMPRESS
Summary:
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
Subscribers: cedric, #reviewers, #committers
Tags: #efl_widgets
Maniphest Tasks: T7313
Differential Revision: https://phab.enlightenment.org/D6860
-rw-r--r-- | src/lib/elementary/elm_list.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/lib/elementary/elm_list.c b/src/lib/elementary/elm_list.c index a34425b02b..d72909c7dd 100644 --- a/src/lib/elementary/elm_list.c +++ b/src/lib/elementary/elm_list.c @@ -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); } |