Setting background color of a group box in code

I need to set the background color of a groupbox when its created based on the type of object it represents.

 ui.Q<GroupBox>("GroupNode").style.color = new StyleColor(new Color(.76f, .89f, .76f));

You want backgroundColor, just color is the font color :slight_smile:

1 Like