From fb155a85ee7b5448e16c87512b34cf20be05b991 Mon Sep 17 00:00:00 2001 From: DeadlyKitten <9684760+DeadlyKitten@users.noreply.github.com> Date: Mon, 26 Aug 2019 21:08:35 -0500 Subject: [PATCH] Made pinned buttons look better on main menu (Thanks monkeymanboy) --- MenuButton/MenuButtonUI.cs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/MenuButton/MenuButtonUI.cs b/MenuButton/MenuButtonUI.cs index e3337d8..dc130b1 100644 --- a/MenuButton/MenuButtonUI.cs +++ b/MenuButton/MenuButtonUI.cs @@ -209,6 +209,8 @@ private void AddRow() child.name = String.Empty; Destroy(child.gameObject); } + newRow.anchorMin = new Vector3(-0.03f, 0.175f, 0); + newRow.anchorMax = new Vector3(1.03f, 0.1f, 0); newRow.anchoredPosition += Vector2.up * RowSeparator * rows.Count; }