equal
deleted
inserted
replaced
206 /** The edwin rect is set totally from layout list_popup_info_pane. But |
206 /** The edwin rect is set totally from layout list_popup_info_pane. But |
207 * AknLayoutUtils::LayoutEdwin() is still used for setting its text color and font. |
207 * AknLayoutUtils::LayoutEdwin() is still used for setting its text color and font. |
208 **/ |
208 **/ |
209 AknLayoutUtils::LayoutEdwin( iEdwin, listPopupInfoPane.Rect(), |
209 AknLayoutUtils::LayoutEdwin( iEdwin, listPopupInfoPane.Rect(), |
210 TAknTextComponentLayout::Multiline(textComponentLayoutArray), EAknsCIQsnTextColorsCG19 ); |
210 TAknTextComponentLayout::Multiline(textComponentLayoutArray), EAknsCIQsnTextColorsCG19 ); |
|
211 iEdwin->SetSuppressFormatting(ETrue); |
211 iEdwin->SetRect( listPopupInfoPane.Rect() ); |
212 iEdwin->SetRect( listPopupInfoPane.Rect() ); |
|
213 iEdwin->SetSuppressFormatting(EFalse); |
212 textComponentLayoutArray.Close(); |
214 textComponentLayoutArray.Close(); |
213 } |
215 } |
214 |
216 |
215 TKeyResponse CAknMessageQueryControl::OfferKeyEventL( const TKeyEvent& aKeyEvent, TEventCode /*aModifiers*/ ) |
217 TKeyResponse CAknMessageQueryControl::OfferKeyEventL( const TKeyEvent& aKeyEvent, TEventCode /*aModifiers*/ ) |
216 { |
218 { |
894 * AknLayoutUtils::LayoutEdwin() is still used for setting its text color and font. |
896 * AknLayoutUtils::LayoutEdwin() is still used for setting its text color and font. |
895 **/ |
897 **/ |
896 TAknMultiLineTextLayout multilineLayout = TAknTextComponentLayout::Multiline(textComponentLayoutArray); |
898 TAknMultiLineTextLayout multilineLayout = TAknTextComponentLayout::Multiline(textComponentLayoutArray); |
897 AknLayoutUtils::LayoutEdwin( iEdwin, listPopupInfoPane.Rect(), |
899 AknLayoutUtils::LayoutEdwin( iEdwin, listPopupInfoPane.Rect(), |
898 multilineLayout, EAknsCIQsnTextColorsCG19 ); |
900 multilineLayout, EAknsCIQsnTextColorsCG19 ); |
899 // Use list_popup_info_pane as editor's rect |
901 //iEdwin->SetRect( listPopupInfoPane.Rect() ); |
900 iEdwin->SetRect( listPopupInfoPane.Rect() ); |
|
901 textComponentLayoutArray.Close(); |
902 textComponentLayoutArray.Close(); |
902 |
903 |
903 iEdwin->SetBorder( TGulBorder::ENone ); |
904 iEdwin->SetBorder( TGulBorder::ENone ); |
904 iEdwin->SetFocus( EFalse ); |
905 iEdwin->SetFocus( EFalse ); |
905 AknsUtils::RegisterControlPosition( iEdwin ); |
906 AknsUtils::RegisterControlPosition( iEdwin ); |