browserui/browser/FeedsSrc/FeedsFeedView.cpp
branchRCL_3
changeset 50 c9249d037530
parent 37 481242ead638
child 63 4baee4f15982
--- a/browserui/browser/FeedsSrc/FeedsFeedView.cpp	Wed Mar 31 21:35:49 2010 +0300
+++ b/browserui/browser/FeedsSrc/FeedsFeedView.cpp	Wed Apr 14 16:00:33 2010 +0300
@@ -36,7 +36,6 @@
 
 #include "Logger.h"
 
-
 // -----------------------------------------------------------------------------
 // CFeedsFeedView::NewL
 //
@@ -84,6 +83,8 @@
 
 	iContainer = CFeedsFeedContainer::NewL( this, ApiProvider() );
 	iContainer->SetRect( aRect );
+    iOrigRect.iTl = aRect.iTl;
+    iOrigRect.iBr = aRect.iBr;
     iContainer->MakeVisible(EFalse);
     
     if(iPenEnabled)
@@ -202,7 +203,7 @@
         //Make button group invisible in order to let container have correct Rect.
         //Patch is based on comments received from AVKON
         if(pButtonGroupContainer) pButtonGroupContainer->MakeVisible(EFalse);
-        iContainer->SetRect(ClientRect());
+        iContainer->SetRect(iOrigRect);
         if(iContainer->iBrowserControl->BrowserSettingL(TBrCtlDefs::ESettingsPageOverview))
             {
             TRAP_IGNORE(iContainer->iBrowserControl->SetBrowserSettingL(TBrCtlDefs::ESettingsPageOverview, EFalse));