Fix vertical alignment of last item

release
Vicente Russo 2015-09-19 02:15:31 -03:00
parent 4729b01234
commit 9bda0ba1a4
1 changed files with 1 additions and 1 deletions

View File

@ -158,7 +158,7 @@ namespace UnityEngine.UI.Extensions
if (!layoutInput) { if (!layoutInput) {
var h = CalculateRowVerticalOffset(groupHeight, yOffset, currentRowHeight); var h = CalculateRowVerticalOffset(groupHeight, yOffset, currentRowHeight);
currentRowWidth -= Spacing;
// Layout the final row // Layout the final row
LayoutRow(_rowList, currentRowWidth, currentRowHeight, workingWidth, padding.left, h, axis); LayoutRow(_rowList, currentRowWidth, currentRowHeight, workingWidth, padding.left, h, axis);
} }