From 9bda0ba1a4c7d26bd876e090f876370200e8b76c Mon Sep 17 00:00:00 2001 From: Vicente Russo Date: Sat, 19 Sep 2015 02:15:31 -0300 Subject: [PATCH] Fix vertical alignment of last item --- Scripts/FlowLayoutGroup.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Scripts/FlowLayoutGroup.cs b/Scripts/FlowLayoutGroup.cs index e66405b..49f6a3f 100644 --- a/Scripts/FlowLayoutGroup.cs +++ b/Scripts/FlowLayoutGroup.cs @@ -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); }