emailuis/emailui/src/ncscomposeviewcontainer.cpp
branchRCL_3
changeset 11 0396474f30f5
parent 10 f5907b1a1053
child 13 8592a65ad3fb
equal deleted inserted replaced
10:f5907b1a1053 11:0396474f30f5
   842     CleanupStack::PopAndDestroy( &inputStream );
   842     CleanupStack::PopAndDestroy( &inputStream );
   843 
   843 
   844     // Activating the field will set the control to the end of the text
   844     // Activating the field will set the control to the end of the text
   845     iMessageField->ActivateL();
   845     iMessageField->ActivateL();
   846     iMessageField->SetCursorPosL( 0, EFalse );
   846     iMessageField->SetCursorPosL( 0, EFalse );
       
   847 	iMessageField->FormatAllTextNowL();
   847 
   848 
   848     inputStream.Open( aReadOnlyQuote.Ptr(), aReadOnlyQuote.Size() );
   849     inputStream.Open( aReadOnlyQuote.Ptr(), aReadOnlyQuote.Size() );
   849     CleanupClosePushL( inputStream );
   850     CleanupClosePushL( inputStream );
   850     iReadOnlyQuoteField->RichText()->ImportTextL( 0, inputStream,
   851     iReadOnlyQuoteField->RichText()->ImportTextL( 0, inputStream,
   851         CPlainText::EOrganiseByParagraph );
   852         CPlainText::EOrganiseByParagraph );
  1791     SetRect( iView.ClientRect() );
  1792     SetRect( iView.ClientRect() );
  1792     if ( iHeader )
  1793     if ( iHeader )
  1793         {
  1794         {
  1794         iHeader->HandleDynamicVariantSwitchL();
  1795         iHeader->HandleDynamicVariantSwitchL();
  1795         }
  1796         }
       
  1797     // force recalculation of the position of every component
       
  1798     UpdateFieldPosition( NULL );
  1796     UpdateScrollBarL();
  1799     UpdateScrollBarL();
  1797     }
  1800     }
  1798 
  1801 
  1799 // -----------------------------------------------------------------------------
  1802 // -----------------------------------------------------------------------------
  1800 // CNcsComposeViewContainer::HandleSkinChangeL
  1803 // CNcsComposeViewContainer::HandleSkinChangeL