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.2release
commit
fae2e4d05b
|
@ -165,7 +165,7 @@ namespace UnityEngine.UI.Extensions
|
||||||
var h = CalculateRowVerticalOffset(groupHeight, yOffset, currentRowHeight);
|
var h = CalculateRowVerticalOffset(groupHeight, yOffset, currentRowHeight);
|
||||||
currentRowWidth -= SpacingX;
|
currentRowWidth -= SpacingX;
|
||||||
// Layout the final row
|
// 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();
|
_rowList.Clear();
|
||||||
|
|
Loading…
Reference in New Issue