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

Method EstimateSize

DuiLib/Control/UIOption.cpp:199–203  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

197 }
198
199 SIZE COptionUI::EstimateSize(SIZE szAvailable)
200 {
201 if( m_cxyFixed.cy == 0 ) return CSize(m_cxyFixed.cx, m_pManager->GetFontInfo(GetFont())->tm.tmHeight + 8);
202 return CControlUI::EstimateSize(szAvailable);
203 }
204
205 void COptionUI::SetAttribute(LPCTSTR pstrName, LPCTSTR pstrValue)
206 {

Callers

nothing calls this directly

Calls 1

GetFontInfoMethod · 0.80

Tested by

no test coverage detected