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
This commit is contained in:
Vitalii Vorobiov 2016-07-05 15:04:02 +03:00
parent 84d48b498c
commit 497fc9ecab
1 changed files with 2 additions and 0 deletions

View File

@ -186,6 +186,8 @@ _activate(Evas_Object *obj)
sd->expanded = EINA_TRUE;
count_items_genlist(obj);
if (sd->count <= 0) return;
_table_resize(obj);