mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-07-15 16:44:36 +00:00
Tweaks to the GuiMenuBarProfile to have correct coloration and borders.
Also added a new Centered Text Edit gui profile.
This commit is contained in:
parent
db0360cf48
commit
78f79abaa1
1 changed files with 32 additions and 3 deletions
|
|
@ -287,6 +287,31 @@ new GuiControlProfile( ToolsGuiTextEditProfile )
|
||||||
category = "Tools";
|
category = "Tools";
|
||||||
};
|
};
|
||||||
|
|
||||||
|
if( !isObject( ToolsGuiTextEditCenterProfile ) )
|
||||||
|
new GuiControlProfile (ToolsGuiTextEditCenterProfile)
|
||||||
|
{
|
||||||
|
opaque = true;
|
||||||
|
//bitmap = "./images/textEditFrame";
|
||||||
|
//hasBitmapArray = true;
|
||||||
|
border = -2; // fix to display textEdit img
|
||||||
|
//borderWidth = "1"; // fix to display textEdit img
|
||||||
|
//borderColor = "100 100 100";
|
||||||
|
fillColor = "255 255 255 0";
|
||||||
|
fillColorHL = "72 72 72";
|
||||||
|
fillColorSEL = "255 255 255";
|
||||||
|
fontColor = "196 196 196 255";
|
||||||
|
fontColorHL = "255 255 255";
|
||||||
|
fontColorSEL = "0 0 0";
|
||||||
|
fontColorNA = "196 196 196 255";
|
||||||
|
textOffset = "4 2";
|
||||||
|
autoSizeWidth = false;
|
||||||
|
autoSizeHeight = true;
|
||||||
|
justify = "center";
|
||||||
|
tab = true;
|
||||||
|
canKeyFocus = true;
|
||||||
|
category = "Tools";
|
||||||
|
};
|
||||||
|
|
||||||
if( !isObject( ToolsGuiNumericTextEditProfile ) )
|
if( !isObject( ToolsGuiNumericTextEditProfile ) )
|
||||||
new GuiControlProfile( ToolsGuiNumericTextEditProfile : ToolsGuiTextEditProfile )
|
new GuiControlProfile( ToolsGuiNumericTextEditProfile : ToolsGuiTextEditProfile )
|
||||||
{
|
{
|
||||||
|
|
@ -1068,10 +1093,14 @@ singleton GuiControlProfile( GuiMenuBarProfile )
|
||||||
{
|
{
|
||||||
fillcolor = "255 255 255";
|
fillcolor = "255 255 255";
|
||||||
fillcolorHL = "213 231 248";
|
fillcolorHL = "213 231 248";
|
||||||
borderColor = "98 163 229";
|
|
||||||
borderColorHL = "122 177 232";
|
fontColorNA = "180 180 180";
|
||||||
border = 0;
|
|
||||||
|
border = 1;
|
||||||
borderThickness = 1;
|
borderThickness = 1;
|
||||||
|
borderColor = "128 128 128";
|
||||||
|
borderColorHL = "122 177 232";
|
||||||
|
|
||||||
opaque = true;
|
opaque = true;
|
||||||
mouseOverSelected = true;
|
mouseOverSelected = true;
|
||||||
category = "Editor";
|
category = "Editor";
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue