From: <tz...@us...> - 2010-12-27 01:17:40
|
Revision: 3930 http://freeorion.svn.sourceforge.net/freeorion/revision/?rev=3930&view=rev Author: tzlaine Date: 2010-12-27 01:17:34 +0000 (Mon, 27 Dec 2010) Log Message: ----------- Added a min height to CUIDropDownList to prevent it from getting squeezed flat due to recent GG changes. Modified Paths: -------------- trunk/FreeOrion/UI/CUIControls.cpp Modified: trunk/FreeOrion/UI/CUIControls.cpp =================================================================== --- trunk/FreeOrion/UI/CUIControls.cpp 2010-12-26 20:55:28 UTC (rev 3929) +++ trunk/FreeOrion/UI/CUIControls.cpp 2010-12-27 01:17:34 UTC (rev 3930) @@ -646,6 +646,7 @@ m_mouse_here(false) { SetInteriorColor(interior); + SetMinSize(GG::Pt(MinSize().x, CUISimpleDropDownListRow::DEFAULT_ROW_HEIGHT)); } void CUIDropDownList::Render() |