equal
deleted
inserted
replaced
190 // Setup text alignment according the mirrored/normal layout. |
190 // Setup text alignment according the mirrored/normal layout. |
191 if ( AknLayoutUtils::LayoutMirrored() ) |
191 if ( AknLayoutUtils::LayoutMirrored() ) |
192 { |
192 { |
193 iLabel->SetAlignment( EHLeftVCenter ); |
193 iLabel->SetAlignment( EHLeftVCenter ); |
194 iLabel->SetLabelAlignment( ELayoutAlignLeft ); |
194 iLabel->SetLabelAlignment( ELayoutAlignLeft ); |
195 iTextEditor->SetAlignment( EAknEditorAlignRight ); |
|
196 } |
195 } |
197 else |
196 else |
198 { |
197 { |
199 iLabel->SetAlignment( EHRightVCenter ); |
198 iLabel->SetAlignment( EHRightVCenter ); |
200 iLabel->SetLabelAlignment( ELayoutAlignRight ); |
199 iLabel->SetLabelAlignment( ELayoutAlignRight ); |
201 iTextEditor->SetAlignment( EAknEditorAlignLeft ); |
200 } |
202 } |
201 |
|
202 // this needs to be bidi as in mirrored layout |
|
203 // writing language left to right can be set |
|
204 iTextEditor->SetAlignment( EAknEditorAlignBidi ); |
203 |
205 |
204 UpdateFontSize(); |
206 UpdateFontSize(); |
205 |
207 |
206 iTextEditor->UpdateCustomDrawer(); |
208 iTextEditor->UpdateCustomDrawer(); |
207 } |
209 } |