equal
deleted
inserted
replaced
100 // --------------------------------------------------------------------------- |
100 // --------------------------------------------------------------------------- |
101 // |
101 // |
102 void CESMRViewerDescriptionField::InternalizeL( MESMRCalEntry& aEntry ) |
102 void CESMRViewerDescriptionField::InternalizeL( MESMRCalEntry& aEntry ) |
103 { |
103 { |
104 FUNC_LOG; |
104 FUNC_LOG; |
|
105 iDisableRedraw = ETrue; |
|
106 |
105 TPtrC text = aEntry.Entry().DescriptionL ( ); |
107 TPtrC text = aEntry.Entry().DescriptionL ( ); |
106 if( text.Length() == 0 ) |
108 if( text.Length() == 0 ) |
107 { |
109 { |
108 iObserver->HideControl( FieldId() ); |
110 iObserver->HideControl( FieldId() ); |
109 } |
111 } |
117 TPtrC text = aEntry.Entry().DescriptionL(); |
119 TPtrC text = aEntry.Entry().DescriptionL(); |
118 iRichTextViewer->SetTextL( &text, ETrue ); |
120 iRichTextViewer->SetTextL( &text, ETrue ); |
119 iRichTextViewer->SetMargins( KMargin ); |
121 iRichTextViewer->SetMargins( KMargin ); |
120 iRichTextViewer->ApplyLayoutChangesL(); |
122 iRichTextViewer->ApplyLayoutChangesL(); |
121 } |
123 } |
122 iDisableRedraw = ETrue; |
|
123 } |
124 } |
124 |
125 |
125 // --------------------------------------------------------------------------- |
126 // --------------------------------------------------------------------------- |
126 // CESMRViewerDescriptionField::OfferKeyEventL() |
127 // CESMRViewerDescriptionField::OfferKeyEventL() |
127 // --------------------------------------------------------------------------- |
128 // --------------------------------------------------------------------------- |