forked from enlightenment/enlightenment
bugfix: correctly calculate minimum flowlayout rows
CID 1132740
This commit is contained in:
parent
01abad3f64
commit
e0a5cd6e7d
|
@ -824,7 +824,7 @@ _e_flowlayout_smart_extents_calcuate(E_Smart_Data *sd)
|
|||
sd->cols = 1;
|
||||
count = eina_list_count(sd->items);
|
||||
sd->rows = sd->h / minh;
|
||||
if (count < sd->cols) sd->rows = count;
|
||||
if (count < sd->rows) sd->rows = count;
|
||||
sd->cols = 0;
|
||||
if (sd->rows > 0)
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue