meetingrequest/mrgui/mrfieldbuilderplugin/src/cesmrviewerdescriptionfield.cpp
branchRCL_3
changeset 22 d620048b4810
parent 16 b5fbb9b25d57
equal deleted inserted replaced
20:efd4f1afd43e 22:d620048b4810
   115     else
   115     else
   116         {
   116         {
   117         TPtrC text = aEntry.Entry().DescriptionL();
   117         TPtrC text = aEntry.Entry().DescriptionL();
   118         iRichTextViewer->SetTextL( &text, ETrue );
   118         iRichTextViewer->SetTextL( &text, ETrue );
   119         iRichTextViewer->SetMargins( KMargin );
   119         iRichTextViewer->SetMargins( KMargin );
       
   120         iRichTextViewer->ApplyLayoutChangesL();
   120         }
   121         }
   121     iDisableRedraw = ETrue;
   122     iDisableRedraw = ETrue;
   122     }
   123     }
   123 
   124 
   124 // ---------------------------------------------------------------------------
   125 // ---------------------------------------------------------------------------
   143                 RestoreMiddleSoftKeyL();
   144                 RestoreMiddleSoftKeyL();
   144                 }
   145                 }
   145             }
   146             }
   146         }
   147         }
   147     return response;
   148     return response;
   148     }
       
   149 
       
   150 // ---------------------------------------------------------------------------
       
   151 // CESMRViewerDescriptionField::SetContainerWindowL()
       
   152 // ---------------------------------------------------------------------------
       
   153 //
       
   154 void CESMRViewerDescriptionField::SetContainerWindowL( const CCoeControl& aContainer )
       
   155     {
       
   156     CESMRField::SetContainerWindowL( aContainer );
       
   157     iRichTextViewer->SetContainerWindowL( aContainer );
       
   158     iRichTextViewer->SetParent( this );
       
   159     }
   149     }
   160 
   150 
   161 // ---------------------------------------------------------------------------
   151 // ---------------------------------------------------------------------------
   162 // CESMRViewerDescriptionField::MinimumSize()
   152 // CESMRViewerDescriptionField::MinimumSize()
   163 // ---------------------------------------------------------------------------
   153 // ---------------------------------------------------------------------------
   269     if ( iObserver && iDisableRedraw )
   259     if ( iObserver && iDisableRedraw )
   270         {
   260         {
   271         iObserver->ControlSizeChanged ( this );
   261         iObserver->ControlSizeChanged ( this );
   272         }
   262         }
   273 
   263 
       
   264     if ( !iOutlineFocus )
       
   265         {
       
   266         RecordField();
       
   267         }
       
   268     
   274     return iDisableRedraw;
   269     return iDisableRedraw;
   275     }
   270     }
   276 
   271 
   277 // ---------------------------------------------------------------------------
   272 // ---------------------------------------------------------------------------
   278 // CESMRViewerDescriptionField::HandleRichTextLinkSelection
   273 // CESMRViewerDescriptionField::HandleRichTextLinkSelection