← Back to team overview

widelands-dev team mailing list archive

[Merge] lp:~widelands-dev/widelands/bug-1830778-lobby-initial-client-layout-broken into lp:widelands

 

Toni Förster has proposed merging lp:~widelands-dev/widelands/bug-1830778-lobby-initial-client-layout-broken into lp:widelands.

Commit message:
lobby set Game column in client list to 3/8 of the width

Requested reviews:
  Widelands Developers (widelands-dev)
Related bugs:
  Bug #1830778 in widelands: "Initially broken table layout in metaserver lobby when table is empty"
  https://bugs.launchpad.net/widelands/+bug/1830778

For more details, see:
https://code.launchpad.net/~widelands-dev/widelands/bug-1830778-lobby-initial-client-layout-broken/+merge/368066
-- 
Your team Widelands Developers is requested to review the proposed merge of lp:~widelands-dev/widelands/bug-1830778-lobby-initial-client-layout-broken into lp:widelands.
=== modified file 'src/ui_fsmenu/internet_lobby.cc'
--- src/ui_fsmenu/internet_lobby.cc	2019-05-26 17:21:15 +0000
+++ src/ui_fsmenu/internet_lobby.cc	2019-05-29 13:31:15 +0000
@@ -158,7 +158,7 @@
 	clientsonline_list_.add_column((lisw_ - 22) * 3 / 8, pgettext("player", "Name"));
 	clientsonline_list_.add_column((lisw_ - 22) * 2 / 8, _("Version"));
 	clientsonline_list_.add_column(
-	   0, _("Game"), "", UI::Align::kLeft, UI::TableColumnType::kFlexible);
+	   (lisw_ - 22) * 3 / 8, _("Game"), "", UI::Align::kLeft, UI::TableColumnType::kFlexible);
 	clientsonline_list_.set_column_compare(
 	   0, boost::bind(&FullscreenMenuInternetLobby::compare_clienttype, this, _1, _2));
 	clientsonline_list_.double_clicked.connect(


Follow ups