mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-07-11 06:34:36 +00:00
Merges in Monkey's fixes PR with a resolution for a conflict
This commit is contained in:
commit
bedc79aacb
22 changed files with 131 additions and 74 deletions
|
|
@ -604,6 +604,8 @@ void GuiControl::setUpdate()
|
|||
void GuiControl::renderJustifiedText(Point2I offset, Point2I extent, const char *text)
|
||||
{
|
||||
GFont *font = mProfile->mFont;
|
||||
if(!font)
|
||||
return;
|
||||
S32 textWidth = font->getStrWidthPrecise((const UTF8*)text);
|
||||
U32 textHeight = font->getHeight();
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue