diff --git a/src/Hooks/HookList.cs b/src/Hooks/HookList.cs index bbb2500..746ee62 100644 --- a/src/Hooks/HookList.cs +++ b/src/Hooks/HookList.cs @@ -79,7 +79,7 @@ namespace UnityExplorer.Hooks internal void ConstructUI(GameObject leftGroup) { UIRoot = UIFactory.CreateUIObject("CurrentHooksPanel", leftGroup); - UIFactory.SetLayoutElement(UIRoot, flexibleHeight: 9999, flexibleWidth: 9999); + UIFactory.SetLayoutElement(UIRoot, preferredHeight: 150, flexibleHeight: 0, flexibleWidth: 9999); UIFactory.SetLayoutGroup(UIRoot, true, true, true, true); Text hooksLabel = UIFactory.CreateLabel(UIRoot, "HooksLabel", "Current Hooks", TextAnchor.MiddleCenter);