--- a/QTfrontend/ui/page/pagemain.cpp Fri Oct 21 17:55:32 2011 +0200
+++ b/QTfrontend/ui/page/pagemain.cpp Fri Oct 21 18:23:43 2011 +0200
@@ -41,11 +41,6 @@
pageLayout->setRowStretch(3, 1);
pageLayout->setRowStretch(4, 1);
- //BtnInfo = addButton(":/res/About.png", pageLayout, 3, 1, 1, 2, true);
- BtnInfo = addButton(":/res/HedgewarsTitle.png", pageLayout, 0, 0, 1, 4, true);
- BtnInfo->setStyleSheet("border: transparent;background: transparent;");
- pageLayout->setAlignment(BtnInfo, Qt::AlignHCenter);
-
BtnSinglePlayer = addButton(":/res/LocalPlay.png", pageLayout, 2, 0, 1, 2, true);
BtnSinglePlayer->setToolTip(tr("Local Game (Play a game on a single computer)"));
pageLayout->setAlignment(BtnSinglePlayer, Qt::AlignHCenter);
@@ -54,6 +49,11 @@
BtnNet->setToolTip(tr("Network Game (Play a game across a network)"));
pageLayout->setAlignment(BtnNet, Qt::AlignHCenter);
+ // button order matters for overlapping (what's on top and what isn't)
+ BtnInfo = addButton(":/res/HedgewarsTitle.png", pageLayout, 0, 0, 1, 4, true);
+ BtnInfo->setStyleSheet("border: transparent;background: transparent;");
+ pageLayout->setAlignment(BtnInfo, Qt::AlignHCenter);
+
BtnDataDownload = addButton(tr("Downloadable Content"), pageLayout, 4, 0, 1, 4, false);
pageLayout->setAlignment(BtnDataDownload, Qt::AlignHCenter);