emailuis/emailui/src/ncscomposeviewcontainer.cpp
branchRCL_3
changeset 11 0396474f30f5
parent 10 f5907b1a1053
child 13 8592a65ad3fb
--- a/emailuis/emailui/src/ncscomposeviewcontainer.cpp	Fri Mar 12 15:41:14 2010 +0200
+++ b/emailuis/emailui/src/ncscomposeviewcontainer.cpp	Mon Mar 15 12:39:10 2010 +0200
@@ -844,6 +844,7 @@
     // Activating the field will set the control to the end of the text
     iMessageField->ActivateL();
     iMessageField->SetCursorPosL( 0, EFalse );
+	iMessageField->FormatAllTextNowL();
 
     inputStream.Open( aReadOnlyQuote.Ptr(), aReadOnlyQuote.Size() );
     CleanupClosePushL( inputStream );
@@ -1793,6 +1794,8 @@
         {
         iHeader->HandleDynamicVariantSwitchL();
         }
+    // force recalculation of the position of every component
+    UpdateFieldPosition( NULL );
     UpdateScrollBarL();
     }