summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVitalii Vorobiov <vi.vorobiov@samsung.com>2016-07-05 15:04:02 +0300
committerVitalii Vorobiov <vi.vorobiov@samsung.com>2016-07-05 15:09:20 +0300
commit497fc9ecabe9b964ade32543b652faed7fdd3851 (patch)
treec49ddd4432b48bd9327ac2a15fcde2476da3525d
parent84d48b498cf127edf9e36b0b250fa94117b62e85 (diff)
elc_combobox: add/remove item doesn't resize container with genlist
recalculation of item count is getting only on a first load of combobox. whenever user add more items, size of container with items doesn't getting more place (provoking scroller to appear). but its event more annoying when user delete items, then there are lots of free spaces left that looks ridiculus @fix
-rw-r--r--src/lib/elementary/elc_combobox.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/lib/elementary/elc_combobox.c b/src/lib/elementary/elc_combobox.c
index c7f5ce0c44..7028debcef 100644
--- a/src/lib/elementary/elc_combobox.c
+++ b/src/lib/elementary/elc_combobox.c
@@ -186,6 +186,8 @@ _activate(Evas_Object *obj)
186 186
187 sd->expanded = EINA_TRUE; 187 sd->expanded = EINA_TRUE;
188 188
189 count_items_genlist(obj);
190
189 if (sd->count <= 0) return; 191 if (sd->count <= 0) return;
190 192
191 _table_resize(obj); 193 _table_resize(obj);