--- a/emailuis/emailui/src/FreestyleEmailUiMailListVisualiser.cpp Tue May 25 12:23:16 2010 +0300
+++ b/emailuis/emailui/src/FreestyleEmailUiMailListVisualiser.cpp Wed Jun 09 09:22:57 2010 +0300
@@ -5616,16 +5616,18 @@
iControlBarControl->SetRectL( iAppUi.LayoutHandler()->GetControlBarRect() );
const TRect newEmailButtonRect( iAppUi.LayoutHandler()->GetControlBarNewEmailButtonRect() );
+ //Add comments by luo gen(e0645320)
+ //The position of button should be set according to the size of button, so set size first
+ iNewEmailButton->SetSize( newEmailButtonRect.Size() );
iNewEmailButton->SetPos( newEmailButtonRect.iTl );
- iNewEmailButton->SetSize( newEmailButtonRect.Size() );
const TRect folderButtonRect( iAppUi.LayoutHandler()->GetControlBarFolderListButtonRect() );
+ iFolderListButton->SetSize( folderButtonRect.Size() );
iFolderListButton->SetPos( folderButtonRect.iTl );
- iFolderListButton->SetSize( folderButtonRect.Size() );
const TRect sortButtonRect( iAppUi.LayoutHandler()->GetControlBarSortButtonRect() );
+ iSortButton->SetSize( sortButtonRect.Size() );
iSortButton->SetPos( sortButtonRect.iTl );
- iSortButton->SetSize( sortButtonRect.Size() );
TInt var = Layout_Meta_Data::IsLandscapeOrientation() ? 1 : 0;
TAknLayoutText textLayout;