From: <geo...@us...> - 2011-08-13 06:47:27
|
Revision: 4128 http://freeorion.svn.sourceforge.net/freeorion/revision/?rev=4128&view=rev Author: geoffthemedio Date: 2011-08-13 06:47:21 +0000 (Sat, 13 Aug 2011) Log Message: ----------- Tweaked layout and default size of PlayerListWnd. Modified Paths: -------------- trunk/FreeOrion/UI/ClientUI.cpp trunk/FreeOrion/UI/PlayerListWnd.cpp Modified: trunk/FreeOrion/UI/ClientUI.cpp =================================================================== --- trunk/FreeOrion/UI/ClientUI.cpp 2011-08-13 05:46:21 UTC (rev 4127) +++ trunk/FreeOrion/UI/ClientUI.cpp 2011-08-13 06:47:21 UTC (rev 4128) @@ -455,8 +455,8 @@ } bool temp_bool = RegisterOptions(&AddOptions); - const GG::X PANEL_WIDTH(320); - const GG::Y PANEL_HEIGHT(200); + const GG::X PANEL_WIDTH(355); + const GG::Y PANEL_HEIGHT(160); } Modified: trunk/FreeOrion/UI/PlayerListWnd.cpp =================================================================== --- trunk/FreeOrion/UI/PlayerListWnd.cpp 2011-08-13 05:46:21 UTC (rev 4127) +++ trunk/FreeOrion/UI/PlayerListWnd.cpp 2011-08-13 06:47:21 UTC (rev 4128) @@ -154,11 +154,11 @@ private: void DoLayout() { - const GG::X PLAYER_NAME_WIDTH(ClientUI::Pts() * 15/2); - const GG::X EMPIRE_NAME_WIDTH(ClientUI::Pts() * 17/2); + const GG::X PLAYER_NAME_WIDTH(ClientUI::Pts() * 17/2); + const GG::X EMPIRE_NAME_WIDTH(ClientUI::Pts() * 18/2); const GG::X STATUS_WIDTH(ClientUI::Pts() * 5); - const GG::X PLAYER_TYPE_WIDTH(ClientUI::Pts() * 4); - const GG::X HOST_WIDTH(ClientUI::Pts() * 3); + const GG::X PLAYER_TYPE_WIDTH(ClientUI::Pts() * 5); + const GG::X HOST_WIDTH(ClientUI::Pts() * 4); GG::X left(DATA_PANEL_BORDER); GG::Y top(DATA_PANEL_BORDER); |