Fix vertical alignment of last item
parent
4729b01234
commit
9bda0ba1a4
|
@ -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);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue