From 3b66a321b26644c28df68ee89dc5f941a187c538 Mon Sep 17 00:00:00 2001 From: originalnicodr Date: Fri, 24 Feb 2023 10:20:26 -0300 Subject: [PATCH] Fixed the lights to be ordered from top to bottom on the list. --- src/UI/Panels/LightsManger.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/UI/Panels/LightsManger.cs b/src/UI/Panels/LightsManger.cs index 40e4d7c..da2664f 100644 --- a/src/UI/Panels/LightsManger.cs +++ b/src/UI/Panels/LightsManger.cs @@ -107,7 +107,7 @@ namespace UnityExplorer.UI.Panels } private void DrawOptionsLights(GameObject light){ - GameObject horiGroup = UIFactory.CreateHorizontalGroup(UIRoot, "LightOptions", true, true, true, true, 4, + GameObject horiGroup = UIFactory.CreateHorizontalGroup(ContentRoot, "LightOptions", true, false, true, false, 4, default, new Color(1, 1, 1, 0), TextAnchor.MiddleLeft); UIFactory.SetLayoutElement(horiGroup, minHeight: 25, flexibleWidth: 9999); UIElements.Add(horiGroup);