Merged in Ziboo/unity-ui-extensions/Ziboo/flowlayoutgroupcs-edited-online-with-bit-1443606102163 (pull request #9)

FlowLayoutGroup.cs edited online with Bitbucket

--HG--
branch : develop_5.2
pull/413/head
Simon Jackson 2015-09-30 18:21:23 +01:00
commit fae2e4d05b
1 changed files with 1 additions and 1 deletions

View File

@ -165,7 +165,7 @@ namespace UnityEngine.UI.Extensions
var h = CalculateRowVerticalOffset(groupHeight, yOffset, currentRowHeight);
currentRowWidth -= SpacingX;
// Layout the final row
LayoutRow(_rowList, currentRowWidth, currentRowHeight, workingWidth, padding.left, h, axis);
LayoutRow(_rowList, currentRowWidth, currentRowHeight, workingWidth - SpacingX, padding.left, h, axis);
}
_rowList.Clear();