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

Method EstimateSize

DuiLib/Control/UIButton.cpp:296–300  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

294 }
295
296 SIZE CButtonUI::EstimateSize(SIZE szAvailable)
297 {
298 if( m_cxyFixed.cy == 0 ) return CSize(m_cxyFixed.cx, m_pManager->GetFontInfo(GetFont())->tm.tmHeight + 8);
299 return CControlUI::EstimateSize(szAvailable);
300 }
301
302 void CButtonUI::SetAttribute(LPCTSTR pstrName, LPCTSTR pstrValue)
303 {

Callers

nothing calls this directly

Calls 1

GetFontInfoMethod · 0.80

Tested by

no test coverage detected