Correct undefined background Main Tab

Correct the background of the world editor main tab with a (new) solid fill. Sometimes it appeared as black, magenta or the just the scene itself. Color is fixed for now as it is a unique situation regarding the use of tabs here.
This commit is contained in:
Nils Eikelenboom 2024-09-10 22:07:02 +02:00
parent 8b049e3b01
commit f38352501d
2 changed files with 21 additions and 0 deletions

View file

@ -943,6 +943,14 @@ singleton GuiControlProfile( GuiBackFillProfile )
category = "Editor";
};
singleton GuiControlProfile( GuiDarkFillProfile )
{
opaque = true;
fillColor = "25 25 25";
border = false;
category = "Editor";
};
singleton GuiControlProfile(GuiShaderEditorProfile : ToolsGuiDefaultProfile)
{
opaque = true;

View file

@ -19,6 +19,19 @@ $guiContent = new GuiContainer(EditorGui,EditorGuiGroup) {
AnchorLeft = "1";
AnchorRight = "0";
new GuiDecoyCtrl(EditorGuiMainTabBookBG) {
profile = "GuiDarkFillProfile";
horizSizing = "width";
vertSizing = "bottom";
position = "0 5";
extent = "800 24";
minExtent = "8 8";
visible = "1";
helpTag = "0";
useMouseEvents = "0";
isDecoy = "1";
};
new GuiTabBookCtrl(EditorGuiMainTabBook) {
tabHeight = "20";
selectedPage = "0";