# HG changeset patch
# User sheepluva
# Date 1318889630 -7200
# Node ID c7c2dd71ced423f7eaa8cd30a23ff8f247ca2711
# Parent  e658c6f698ddd1ba880b55f43f3371303ad53ca8
server lobby: don't stretch buttons right of the roomlist - instead let the roomlist use all the available space

diff -r e658c6f698dd -r c7c2dd71ced4 QTfrontend/ui/page/pageroomslist.cpp
--- a/QTfrontend/ui/page/pageroomslist.cpp	Tue Oct 18 00:01:26 2011 +0200
+++ b/QTfrontend/ui/page/pageroomslist.cpp	Tue Oct 18 00:13:50 2011 +0200
@@ -96,6 +96,11 @@
     BtnRefresh = addButton(tr("Refresh"), pageLayout, 3, 2);
     BtnClear = addButton(tr("Clear"), pageLayout, 4, 2);
 
+    // strech all but the buttons column
+    pageLayout->setColumnStretch(0, 1);
+    pageLayout->setColumnStretch(1, 1);
+    pageLayout->setColumnStretch(2, 0);
+
     CBRules->addItem(QComboBox::tr("Any"));
     CBState->addItem(QComboBox::tr("Any"));
     CBState->addItem(QComboBox::tr("In lobby"));