MCPcopy Create free account
hub / github.com/cinience/RedisStudio / EstimateSize

Method EstimateSize

DuiLib/Control/UILabel.cpp:150–154  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

148 }
149
150 SIZE CLabelUI::EstimateSize(SIZE szAvailable)
151 {
152 if( m_cxyFixed.cy == 0 ) return CSize(m_cxyFixed.cx, m_pManager->GetFontInfo(GetFont())->tm.tmHeight + 4);
153 return CControlUI::EstimateSize(szAvailable);
154 }
155
156 void CLabelUI::DoEvent(TEventUI& event)
157 {

Callers

nothing calls this directly

Calls 1

GetFontInfoMethod · 0.80

Tested by

no test coverage detected