mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-07-16 09:04:38 +00:00
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:
parent
8b049e3b01
commit
f38352501d
2 changed files with 21 additions and 0 deletions
|
|
@ -943,6 +943,14 @@ singleton GuiControlProfile( GuiBackFillProfile )
|
||||||
category = "Editor";
|
category = "Editor";
|
||||||
};
|
};
|
||||||
|
|
||||||
|
singleton GuiControlProfile( GuiDarkFillProfile )
|
||||||
|
{
|
||||||
|
opaque = true;
|
||||||
|
fillColor = "25 25 25";
|
||||||
|
border = false;
|
||||||
|
category = "Editor";
|
||||||
|
};
|
||||||
|
|
||||||
singleton GuiControlProfile(GuiShaderEditorProfile : ToolsGuiDefaultProfile)
|
singleton GuiControlProfile(GuiShaderEditorProfile : ToolsGuiDefaultProfile)
|
||||||
{
|
{
|
||||||
opaque = true;
|
opaque = true;
|
||||||
|
|
|
||||||
|
|
@ -19,6 +19,19 @@ $guiContent = new GuiContainer(EditorGui,EditorGuiGroup) {
|
||||||
AnchorLeft = "1";
|
AnchorLeft = "1";
|
||||||
AnchorRight = "0";
|
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) {
|
new GuiTabBookCtrl(EditorGuiMainTabBook) {
|
||||||
tabHeight = "20";
|
tabHeight = "20";
|
||||||
selectedPage = "0";
|
selectedPage = "0";
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue