textinput/peninputfingerhwr/src/peninputfingerhwrwnd.cpp
branchRCL_3
changeset 12 5e18d8c489d6
parent 11 c8fb4cf7b3ae
child 13 1bbdde98cc2d
--- a/textinput/peninputfingerhwr/src/peninputfingerhwrwnd.cpp	Tue May 11 16:31:42 2010 +0300
+++ b/textinput/peninputfingerhwr/src/peninputfingerhwrwnd.cpp	Tue May 25 13:03:44 2010 +0300
@@ -1781,6 +1781,9 @@
         {
         rect = iLafManager->CtrlRect( iVirtualNumpad->ControlId() );
         iVirtualNumpad->SetRect( rect );
+        
+        TAknTextLineLayout txtlayout = iLafManager->NumpadKeyTxtLayout();
+        iVirtualNumpad->SetTextLineLayout( txtlayout );
 
         const RPointerArray<CVirtualKey>& keys = iVirtualNumpad->KeyArray();
         RArray<TRect> rects;
@@ -1802,6 +1805,9 @@
         rect = iLafManager->CtrlRect( iVirtualSctpad->ControlId() );
         iVirtualSctpad->SetRect( rect );
         
+        TAknTextLineLayout txtlayout = iLafManager->SctpadKeyTxtLayout();
+        iVirtualSctpad->SetTextLineLayout( txtlayout );
+        
         const RPointerArray<CVirtualKey>& keys = iVirtualSctpad->KeyArray();
         RArray<TRect> rects;
         iLafManager->GetVirtualKeyRects( rects );
@@ -1821,6 +1827,9 @@
         {
         rect = iLafManager->CtrlRect( iVirtualSctpadFix->ControlId() );
         iVirtualSctpadFix->SetRect( rect );
+                
+        TAknTextLineLayout txtlayout = iLafManager->FixSctpadKeyTxtLayout();
+        iVirtualSctpadFix->SetTextLineLayout( txtlayout );
         
         const RPointerArray<CVirtualKey>& keys = iVirtualSctpadFix->KeyArray();
         RArray<TRect> rects;