ui/views/detailsview/src/glxdetailsview.cpp
changeset 71 27f2d7aec52a
parent 65 ccee5c4b0de4
child 72 0a8e959402e5
--- a/ui/views/detailsview/src/glxdetailsview.cpp	Mon Sep 27 15:13:20 2010 +0530
+++ b/ui/views/detailsview/src/glxdetailsview.cpp	Wed Oct 06 14:49:39 2010 +0530
@@ -158,6 +158,9 @@
 
     //Set context mode to fetch descriptions
     mModel->setData(QModelIndex(), (int) GlxContextComment, GlxContextRole);
+    
+    //Set the Layout Correspondingly.
+    updateLayout(mWindow->orientation());
 
     OstTraceFunctionExit0( GLXDETAILSVIEW_ACTIVATE_EXIT );
 }
@@ -401,6 +404,7 @@
     mDocLoader->load(GLX_DETAILSVIEW_DOCMLPATH, section, &loaded);
 
     showImage();
+    updateGeometry();
 
     GLX_LOG_INFO1("GlxDetailsView::updateLayout =%d\n",loaded);
 }