--- a/ui/views/listview/src/glxlistview.cpp Fri May 28 21:11:54 2010 +0530
+++ b/ui/views/listview/src/glxlistview.cpp Fri Jun 11 17:53:15 2010 +0530
@@ -43,7 +43,6 @@
{
qDebug("GlxListView::GlxListView()");
mDocLoader = new HbDocumentLoader();
- setContentFullScreen( true );
}
void GlxListView::activate()
@@ -137,13 +136,13 @@
mView = static_cast<HbView*>(mDocLoader->findWidget(QString(GLX_LISTVIEW_VIEW)));
mListView = static_cast<HbListView*>(mDocLoader->findWidget(QString(GLX_LISTVIEW_LIST)));
- if(mListView) {
+ if( mListView ) {
//sets the widget
setWidget((QGraphicsWidget*) mView);
+ HbListViewItem *prototype = mListView->listItemPrototype();
+ prototype->setStretchingStyle(HbListViewItem::StretchLandscape);
}
}
- HbListViewItem *prototype = mListView->listItemPrototype();
- prototype->setStretchingStyle(HbListViewItem::StretchLandscape);
}
}