QTfrontend/pages.cpp
changeset 673 bd82104a28af
parent 672 08ed55ea1e2a
child 675 28e294a496cb
--- a/QTfrontend/pages.cpp	Sat Dec 15 23:24:43 2007 +0000
+++ b/QTfrontend/pages.cpp	Sun Dec 16 15:58:29 2007 +0000
@@ -31,6 +31,7 @@
 #include <QRadioButton>
 #include <QTableView>
 #include <QMessageBox>
+#include <QHeaderView>
 
 #include "pages.h"
 #include "sdlkeys.h"
@@ -80,7 +81,7 @@
 	BtnLoad = new QPushButton(this);
 	BtnLoad->setSizePolicy(QSizePolicy::Expanding, QSizePolicy::Expanding);
 	BtnLoad->setFont(*font14);
-	BtnLoad->setText(QPushButton::tr("Load"));
+	BtnLoad->setText(QPushButton::tr("Saved games"));
 	pageLayout->addWidget(BtnLoad, 3, 1);
 
 	BtnDemos = new QPushButton(this);
@@ -493,6 +494,8 @@
 	else
 		tvServersList->setModel(new HWNetWwwModel(tvServersList));
 
+	tvServersList->horizontalHeader()->setResizeMode(0, QHeaderView::Stretch);
+
 	static_cast<HWNetServersModel *>(tvServersList->model())->updateList();
 
 	connect(BtnUpdateSList, SIGNAL(clicked()), static_cast<HWNetServersModel *>(tvServersList->model()), SLOT(updateList()));