bugfix: correctly calculate minimum flowlayout rows

CID 1132740
This commit is contained in:
Mike Blumenkrantz 2014-03-13 12:44:47 -04:00
parent 01abad3f64
commit e0a5cd6e7d
1 changed files with 1 additions and 1 deletions

View File

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