From: <tz...@us...> - 2006-10-21 19:38:58
|
Revision: 1921 http://svn.sourceforge.net/freeorion/revision/?rev=1921&view=rev Author: tzlaine Date: 2006-10-21 12:38:56 -0700 (Sat, 21 Oct 2006) Log Message: ----------- Changed the parameterization of the FleetWnd layout, to fix the crushed desitnation and status text. Modified Paths: -------------- trunk/FreeOrion/UI/FleetWnd.cpp Modified: trunk/FreeOrion/UI/FleetWnd.cpp =================================================================== --- trunk/FreeOrion/UI/FleetWnd.cpp 2006-10-21 18:33:55 UTC (rev 1920) +++ trunk/FreeOrion/UI/FleetWnd.cpp 2006-10-21 19:38:56 UTC (rev 1921) @@ -787,7 +787,9 @@ AttachChild(m_ship_status_text); VerticalLayout(); GetLayout()->SetCellMargin(4); - GetLayout()->SetRowStretch(1, 1); + GetLayout()->SetMinimumRowHeight(0, ClientUI::Pts() + 4); + GetLayout()->SetRowStretch(1, 1.0); + GetLayout()->SetMinimumRowHeight(2, ClientUI::Pts() + 4); GG::Connect(m_ships_lb->SelChangedSignal, &FleetDetailPanel::ShipSelectionChanged, this); GG::Connect(m_ships_lb->BrowsedSignal, &FleetDetailPanel::ShipBrowsed, this); |