MCPcopy Create free account
hub / github.com/MyGUI/mygui / getOptimalHeight

Method getOptimalHeight

MyGUIEngine/src/MyGUI_ListBox.cpp:863–866  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

861 }
862
863 int ListBox::getOptimalHeight() const
864 {
865 return (int)((mCoord.height - _getClientWidget()->getHeight()) + (mItemsInfo.size() * mHeightLine));
866 }
867
868 size_t ListBox::getItemCount() const
869 {

Calls 2

getHeightMethod · 0.45
sizeMethod · 0.45

Tested by

no test coverage detected