textinput/peninputgenericitut/src/peninputitutwesternuistatenonpredict.cpp
branchRCL_3
changeset 10 6defe5d1bd39
parent 8 6ceef9a83b1a
child 12 4eb1ae11334f
--- a/textinput/peninputgenericitut/src/peninputitutwesternuistatenonpredict.cpp	Mon Mar 15 12:42:02 2010 +0200
+++ b/textinput/peninputgenericitut/src/peninputitutwesternuistatenonpredict.cpp	Wed Mar 31 22:08:20 2010 +0300
@@ -78,7 +78,9 @@
     // update resource id of keypad, candidate drop list
     iOwner->DataMgr()->NotifyChangeControlLayout(
         MItutPropertySubscriber::EItutPropertyKeypadResourceId, keypadResId);
-
+    // Show ICF, Backspace after position changed to avoid flicker
+    iOwner->LayoutContext()->Control(ECtrlIdBackspace)->Hide(EFalse);
+    iOwner->LayoutContext()->Control(ECtrlIdICF)->Hide( EFalse );
     // for secret editor, there is no need to show navigation buttons
         {
         if (iOwner->DataMgr()->IsChinese())
@@ -143,7 +145,10 @@
 
 void CWesternItutUiStateNonPredict::OnExit()
     {
+    // Hide ICF, Backspace, Arrow controls when exit to avoid flick
     iOwner->LayoutContext()->ShowArrowBtn(0);
+    iOwner->LayoutContext()->Control(ECtrlIdICF)->Hide( ETrue );
+    iOwner->LayoutContext()->Control(ECtrlIdBackspace)->Hide(ETrue);
     }
 
 CGenericItutUiMgrBase::TUiState CWesternItutUiStateNonPredict::StateType()