Text Justify
by James Laker (BurNinG) · in Torque Game Engine Advanced · 10/16/2007 (1:50 pm) · 0 replies
The text alignment is broken, or well... it wont Center or align to the right.
eg:
[code]
new GuiControlProfile (_Solar_GuiTextHudProfile)
{
fontColor = "200 200 200";
fontColorLink = "255 255 255";
fontColorLinkHL = "0 0 255";
fontColorSEL = "255 0 0";
fontColorHL = "255 255 255";
fontColorNA = "255 255 0";
fillColorHL = "255 255 255";
autoSizeWidth = true;
autoSizeHeight = true;
justify = "center";
};
[code]
eg:
[code]
new GuiControlProfile (_Solar_GuiTextHudProfile)
{
fontColor = "200 200 200";
fontColorLink = "255 255 255";
fontColorLinkHL = "0 0 255";
fontColorSEL = "255 0 0";
fontColorHL = "255 255 255";
fontColorNA = "255 255 0";
fillColorHL = "255 255 255";
autoSizeWidth = true;
autoSizeHeight = true;
justify = "center";
};
[code]