emailuis/uicomponents/src/fscontrolbuttonvisualiser.cpp
branchRCL_3
changeset 8 e1b6206813b4
parent 1 12c456ceeff2
child 12 f5907b1a1053
--- a/emailuis/uicomponents/src/fscontrolbuttonvisualiser.cpp	Tue Feb 02 00:02:40 2010 +0200
+++ b/emailuis/uicomponents/src/fscontrolbuttonvisualiser.cpp	Fri Feb 19 22:37:30 2010 +0200
@@ -1243,9 +1243,9 @@
         {
         TSize oldIconSize = iconA.Size();
         iconA.SetRect( TPoint( 
-                iconA.iTl .iX + ( buttonSize.iWidth - oldIconSize.iWidth ) / 2, 
-                iconA.iTl .iY + ( buttonSize.iHeight - oldIconSize.iHeight ) / 2 ),
-                oldIconSize );
+                            ( buttonSize.iWidth - oldIconSize.iWidth ) / 2, 
+                            ( buttonSize.iHeight - oldIconSize.iHeight ) / 2 ),
+                            oldIconSize );
         }
     iconA.SetHeight( buttonSize.iHeight );
     text1.SetHeight( buttonSize.iHeight );