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

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

@fix
pull/1/head
Carsten Haitzler 7 months ago
parent 0fc17828f6
commit 6f59af7e9f
  1. 2
      src/modules/winlist/e_winlist.c

@ -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);

Loading…
Cancel
Save