restore showing a bigger icon for themes
authorkoda
Sun, 26 Dec 2010 19:30:51 +0100
changeset 4701 7ed88cfc99b1
parent 4699 47d8a524780a
child 4703 58d926024040
restore showing a bigger icon for themes
QTfrontend/mapContainer.cpp
project_files/HedgewarsMobile/Resources/Settings/settings.plist
--- a/QTfrontend/mapContainer.cpp	Sun Dec 26 19:25:40 2010 +0100
+++ b/QTfrontend/mapContainer.cpp	Sun Dec 26 19:30:51 2010 +0100
@@ -177,8 +177,8 @@
     connect(maze_size_selection, SIGNAL(currentIndexChanged(int)), this, SLOT(setMaze_size(int)));
 
     gbThemes = new IconedGroupBox(mapWidget);
-    gbThemes->setTitleTextPadding(60);
-    gbThemes->setContentTopPadding(6);
+    gbThemes->setTitleTextPadding(80);
+    gbThemes->setContentTopPadding(15);
     gbThemes->setTitle(tr("Themes"));
 
     //gbThemes->setStyleSheet("padding: 0px"); // doesn't work - stylesheet is set with icon
@@ -373,7 +373,7 @@
     chooseMap->setItemData(1, mapInfo);
     mapInfo[0] = QString("+drawn+");
     chooseMap->setItemData(2, mapInfo);
-    gbThemes->setIcon(QIcon(QString("%1/Themes/%2/icon.png").arg(datadir->absolutePath()).arg(theme)));
+    gbThemes->setIcon(QIcon(QString("%1/Themes/%2/icon@2x.png").arg(datadir->absolutePath()).arg(theme)));
     emit themeChanged(theme);
 }
 
--- a/project_files/HedgewarsMobile/Resources/Settings/settings.plist	Sun Dec 26 19:25:40 2010 +0100
+++ b/project_files/HedgewarsMobile/Resources/Settings/settings.plist	Sun Dec 26 19:30:51 2010 +0100
@@ -17,7 +17,7 @@
 	<key>password_length</key>
 	<integer>0</integer>
 	<key>enhanced</key>
-	<false/>
+	<true/>
 	<key>multitasking</key>
 	<true/>
 </dict>