summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Blumenkrantz <zmike@samsung.com>2018-08-17 11:11:08 -0400
committerStefan Schmidt <s.schmidt@samsung.com>2018-08-17 21:55:43 +0200
commit791fc27c4072a79b063f3c083b1acbbc0c275c58 (patch)
tree440ed0e0401a95c2d81d94f7fa86cc536786d877
parent0f21b1f7aaac18ba2ed3d10a6ff73f2db409c3bd (diff)
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
-rw-r--r--src/lib/elementary/elm_list.c5
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)
778 sd->scr_minw = EINA_TRUE; 778 sd->scr_minw = EINA_TRUE;
779 sd->scr_minh = EINA_TRUE; 779 sd->scr_minh = EINA_TRUE;
780 } 780 }
781 else if (sd->mode == ELM_LIST_COMPRESS)
782 {
783 sd->scr_minw = EINA_FALSE;
784 sd->scr_minh = EINA_FALSE;
785 }
781 786
782 elm_layout_sizing_eval(obj); 787 elm_layout_sizing_eval(obj);
783} 788}