Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/OGSR/OGSR-Engine
/ AdjustHeightToText
Method
AdjustHeightToText
ogsr_engine/xrGame/ui/UIStatic.cpp:592–597 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
590
}
591
592
void CUIStatic::AdjustHeightToText()
593
{
594
m_pLines->SetWidth(GetWidth());
595
m_pLines->ParseText();
596
SetHeight(m_pLines->GetVisibleHeight());
597
}
598
599
void CUIStatic::AdjustWidthToText()
600
{
Callers
12
InitCharacter
Method · 0.80
AddIconedPdaMessage
Method · 0.80
SetSelected
Method · 0.80
Init
Method · 0.80
FillPointsDetail
Method · 0.80
SetText
Method · 0.80
FillUpList
Method · 0.80
InitItem
Method · 0.80
Setup
Method · 0.80
SetArticle
Method · 0.80
InitScrollView
Method · 0.80
SetGameTask
Method · 0.80
Calls
4
ParseText
Method · 0.80
GetVisibleHeight
Method · 0.80
GetWidth
Function · 0.50
SetWidth
Method · 0.45
Tested by
no test coverage detected