forked from enlightenment/enlightenment
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:
parent
0fc17828f6
commit
6f59af7e9f
|
@ -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…
Reference in New Issue