Fix vertical alignment of last item
parent
4729b01234
commit
9bda0ba1a4
|
@ -158,7 +158,7 @@ namespace UnityEngine.UI.Extensions
|
|||
|
||||
if (!layoutInput) {
|
||||
var h = CalculateRowVerticalOffset(groupHeight, yOffset, currentRowHeight);
|
||||
|
||||
currentRowWidth -= Spacing;
|
||||
// Layout the final row
|
||||
LayoutRow(_rowList, currentRowWidth, currentRowHeight, workingWidth, padding.left, h, axis);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue