controlpanelplugins/themeplugin/src/cpthemelistview.cpp
changeset 24 f5dfdd5e4a1b
parent 14 23411a3be0db
child 26 808caa51b78b
child 31 e79ce701c376
child 40 593f946f4fec
--- a/controlpanelplugins/themeplugin/src/cpthemelistview.cpp	Fri Jun 11 13:39:17 2010 +0300
+++ b/controlpanelplugins/themeplugin/src/cpthemelistview.cpp	Wed Jun 23 18:13:38 2010 +0300
@@ -22,6 +22,7 @@
 #include <hbview.h>
 #include <hblabel.h>
 #include <hblistview.h>
+#include <hblistviewitem.h>
 
 #include "cpthemelistview.h"
 
@@ -45,17 +46,17 @@
     //Create a layout with a heading "Select theme" at top and the list below it.
     HbWidget* contentWidget = new HbWidget(this);
     QGraphicsLinearLayout* layout = new QGraphicsLinearLayout(Qt::Vertical);
-    	
-   
     
     //setup the heading.
-    HbLabel* label = new HbLabel(hbTrId("txt_cp_title_select_theme"), contentWidget);
-    label->setFontSpec(HbFontSpec(HbFontSpec::Primary));
+    HbLabel* label = new HbLabel(hbTrId("txt_cp_title_select_theme"), contentWidget);//txt_cp_title_select_theme
     layout->addItem(label);
 
     connect(mThemeList, SIGNAL(activated(const QModelIndex&)),
             this, SIGNAL(newThemeSelected(const QModelIndex&)));
     
+    HbListViewItem* listViewItem = mThemeList->listItemPrototype();
+    listViewItem->setGraphicsSize(HbListViewItem::LargeIcon);
+   
     //add the list to layout.
     layout->addItem(mThemeList);