winlist - fix 0 item lenth rows - have at least 1 item

this fixes winlist large mode sometimes losing windows in the view.

@fix
This commit is contained in:
Carsten Haitzler 2022-03-22 12:41:01 +00:00
parent 0fc17828f6
commit 6f59af7e9f
1 changed files with 1 additions and 1 deletions

View File

@ -778,7 +778,7 @@ _e_winlist_large_item_height_set(Evas_Coord h)
edje_object_size_min_calc(ww->bg_object, &mw, &mh);
evas_object_size_hint_min_set(ww->bg_object, mw, mh);
rowlen += mw;
if (rowlen > lw)
if ((rowlen > lw) && (mw != rowlen))
{
rowlen = 0;
boxes = elm_box_children_get(bl->data);