# HG changeset patch # User Peter Nelson # Date 2021-04-17 20:08:47 # Node ID ecc28a6f333ee7f69e059566abc8c88764f4fd83 # Parent c33b3edbcf737e893ef2a068eb06352bcbbff292 Fix #9042: Make multiplayer server list height auto-fill window. #9042 did not fix all combinations of scaling options. This additional change makes the server list automatically fill available height. diff --git a/src/network/network_gui.cpp b/src/network/network_gui.cpp --- a/src/network/network_gui.cpp +++ b/src/network/network_gui.cpp @@ -500,6 +500,7 @@ public: switch (widget) { case WID_NG_MATRIX: resize->height = WD_MATRIX_TOP + std::max(GetSpriteSize(SPR_BLOT).height, (uint)FONT_HEIGHT_NORMAL) + WD_MATRIX_BOTTOM; + fill->height = resize->height; size->height = 12 * resize->height; break;