mirror of
https://github.com/GrahamKracker/UnityExplorer.git
synced 2025-07-01 19:13:03 +08:00
Make current hooks view smaller in height
This commit is contained in:
@ -79,7 +79,7 @@ namespace UnityExplorer.Hooks
|
|||||||
internal void ConstructUI(GameObject leftGroup)
|
internal void ConstructUI(GameObject leftGroup)
|
||||||
{
|
{
|
||||||
UIRoot = UIFactory.CreateUIObject("CurrentHooksPanel", leftGroup);
|
UIRoot = UIFactory.CreateUIObject("CurrentHooksPanel", leftGroup);
|
||||||
UIFactory.SetLayoutElement(UIRoot, flexibleHeight: 9999, flexibleWidth: 9999);
|
UIFactory.SetLayoutElement(UIRoot, preferredHeight: 150, flexibleHeight: 0, flexibleWidth: 9999);
|
||||||
UIFactory.SetLayoutGroup<VerticalLayoutGroup>(UIRoot, true, true, true, true);
|
UIFactory.SetLayoutGroup<VerticalLayoutGroup>(UIRoot, true, true, true, true);
|
||||||
|
|
||||||
Text hooksLabel = UIFactory.CreateLabel(UIRoot, "HooksLabel", "Current Hooks", TextAnchor.MiddleCenter);
|
Text hooksLabel = UIFactory.CreateLabel(UIRoot, "HooksLabel", "Current Hooks", TextAnchor.MiddleCenter);
|
||||||
|
Reference in New Issue
Block a user