QTfrontend/pages.cpp
changeset 1444 06f6ae457a2f
parent 1443 e79e4b48c771
child 1447 e3a05ce15f1a
--- a/QTfrontend/pages.cpp	Fri Oct 31 14:40:00 2008 +0000
+++ b/QTfrontend/pages.cpp	Fri Oct 31 14:49:16 2008 +0000
@@ -595,8 +595,10 @@
 	QHBoxLayout * topLine = new QHBoxLayout();
 	QHBoxLayout * middleLine = new QHBoxLayout();
 	QHBoxLayout * bottomLine = new QHBoxLayout();
+	vLayout->addStretch();
 	vLayout->addLayout(topLine);
 	vLayout->addLayout(middleLine);
+	vLayout->addStretch();
 	vLayout->addLayout(bottomLine);
 
 	BtnSimpleGamePage = addButton(":/res/SimpleGame.png", topLine, 0, true);
@@ -605,8 +607,9 @@
 	BtnTrainPage = addButton(":/res/Trainings.png", middleLine, 0, true);
 	
 	BtnBack = addButton(":/res/Exit.png", bottomLine, 0, true);
+	bottomLine->addStretch();
+
 	BtnDemos = addButton(tr(":/res/Record.png"), bottomLine, 1, true);
-	
 	BtnLoad = addButton(":/res/Save.png", bottomLine, 2, true);
 	BtnLoad->setStyleSheet("QPushButton{margin: 12px 0px 12px 0px;}");
 }