QTfrontend/mapContainer.cpp
changeset 3869 d3d39bbb05f2
parent 3865 0b1c426b035f
child 3870 e3f778c95d1c
--- a/QTfrontend/mapContainer.cpp	Tue Sep 14 19:06:59 2010 +0200
+++ b/QTfrontend/mapContainer.cpp	Tue Sep 14 21:07:06 2010 +0200
@@ -153,7 +153,8 @@
     for (int i = 0; i < Themes->size(); ++i) {
         QListWidgetItem * lwi = new QListWidgetItem();
         lwi->setText(Themes->at(i));
-        lwi->setTextAlignment(Qt::AlignHCenter);
+        lwi->setIcon(QIcon(QString("%1/Themes/%2/icon.png").arg(datadir->absolutePath()).arg(Themes->at(i))));
+        //lwi->setTextAlignment(Qt::AlignHCenter);
         lwThemes->addItem(lwi);
     }
     connect(lwThemes, SIGNAL(currentRowChanged(int)), this, SLOT(themeSelected(int)));
@@ -167,7 +168,7 @@
             "border-color: transparent;"
             "background-color: #0d0544;"
             "color: #ffcc00;"
-            "font: bold 14px;"
+            "font: bold 13px;"
             "}"
         )
     );