QTfrontend/pages.cpp
changeset 310 b95fd124cb09
parent 307 96b428ac11f2
child 311 b8905423f19f
--- a/QTfrontend/pages.cpp	Sun Jan 07 17:48:18 2007 +0000
+++ b/QTfrontend/pages.cpp	Sun Jan 07 22:54:08 2007 +0000
@@ -111,11 +111,11 @@
 {
 	QFont * font14 = new QFont("MS Shell Dlg", 14);
 	QGridLayout * pageLayout = new QGridLayout(this);
-	pageLayout->setColumnStretch(0, 100);
+	pageLayout->setColumnStretch(0, 1);
 	pageLayout->setColumnMinimumWidth(0, 150);
 	pageLayout->setColumnStretch(1, 100);
 	pageLayout->setColumnMinimumWidth(1, 200);
-	pageLayout->setColumnStretch(2, 250);
+	pageLayout->setColumnStretch(2, 150);
 	pageLayout->setColumnMinimumWidth(2, 250);
 
 	GBoxTeam = new QGroupBox(this);
@@ -214,8 +214,8 @@
 	CBFort->setMaxCount(65535);
 	GBFLayout->addWidget(CBFort, 0, 0);
 	FortPreview	= new SquareLabel(GBoxFort);
+	FortPreview->setSizePolicy(QSizePolicy::Expanding, QSizePolicy::Expanding);
 	FortPreview->setPixmap(QPixmap());
-	FortPreview->setScaledContents(true);
 	GBFLayout->addWidget(FortPreview, 1, 0);
 	pageLayout->addWidget(GBoxFort, 2, 2, 1, 1);