--- a/meetingrequest/mrgui/mrfieldbuilderplugin/src/cesmrviewerdescriptionfield.cpp Mon Jun 21 15:20:54 2010 +0300
+++ b/meetingrequest/mrgui/mrfieldbuilderplugin/src/cesmrviewerdescriptionfield.cpp Thu Jul 15 18:19:25 2010 +0300
@@ -117,6 +117,7 @@
TPtrC text = aEntry.Entry().DescriptionL();
iRichTextViewer->SetTextL( &text, ETrue );
iRichTextViewer->SetMargins( KMargin );
+ iRichTextViewer->ApplyLayoutChangesL();
}
iDisableRedraw = ETrue;
}
@@ -148,17 +149,6 @@
}
// ---------------------------------------------------------------------------
-// CESMRViewerDescriptionField::SetContainerWindowL()
-// ---------------------------------------------------------------------------
-//
-void CESMRViewerDescriptionField::SetContainerWindowL( const CCoeControl& aContainer )
- {
- CESMRField::SetContainerWindowL( aContainer );
- iRichTextViewer->SetContainerWindowL( aContainer );
- iRichTextViewer->SetParent( this );
- }
-
-// ---------------------------------------------------------------------------
// CESMRViewerDescriptionField::MinimumSize()
// ---------------------------------------------------------------------------
//
@@ -271,6 +261,11 @@
iObserver->ControlSizeChanged ( this );
}
+ if ( !iOutlineFocus )
+ {
+ RecordField();
+ }
+
return iDisableRedraw;
}