GuiControlProfile not working after build
by Scott Fowler · in Technical Issues · 02/26/2012 (3:34 pm) · 1 replies
I have a GuiControlProfile defined as:
I have this assigned to a GuiTextControl with:
The various scripts have working Exec statements, it is added correctly, and it displays with white lettering when in Debug mode for both the T2D Builder and Torsion.
When I build the game, all the text is back to black. Any thoughts what might be causing this?
if(!isObject(ShipDataProfile)) new GuiControlProfile (ShipDataProfile)
{
tab = false;
canKeyFocus = false;
hasBitmapArray = false;
mouseOverSelected = false;
// fill color
opaque = true;
fillColor = "150 150 150";
fillColorHL = "244 244 244";
fillColorNA = "244 244 244";
// border color
border = 1;
borderColor = "255 255 255";
borderColorHL = "128 128 128";
borderColorNA = "64 64 64";
// font
fontType = "Arial";
fontSize = 14;
fontColor = "255 255 255";
fontColorHL = "235 235 235";
fontColorNA = "235 235 235";
fontColorSEL= "235 235 235";
// used by guiTextControl
modal = true;
justify = "left";
autoSizeWidth = false;
autoSizeHeight = false;
returnTab = false;
numbersOnly = false;
cursorColor = "255 255 255 255";
};I have this assigned to a GuiTextControl with:
new GuiTextCtrl(ShipName) {
canSaveDynamicFields = "0";
isContainer = "0";
Profile = "ShipDataProfile";
HorizSizing = "right";
VertSizing = "bottom";
Position = "25 600";
Extent = "300 30";
MinExtent = "8 2";
canSave = "1";
Visible = "1";
hovertime = "1000";
groupNum = "-1";
useMouseEvents = "0";
text = "Ship Name: None Selected";
};The various scripts have working Exec statements, it is added correctly, and it displays with white lettering when in Debug mode for both the T2D Builder and Torsion.
When I build the game, all the text is back to black. Any thoughts what might be causing this?
Scott Fowler