textinput/peninputsplitqwerty/src/peninputsplitqwertylafdatamgr.cpp
branchRCL_3
changeset 5 a47de9135b21
parent 3 f5a1e66df979
child 8 4eb1ae11334f
--- a/textinput/peninputsplitqwerty/src/peninputsplitqwertylafdatamgr.cpp	Fri Feb 19 23:09:27 2010 +0200
+++ b/textinput/peninputsplitqwerty/src/peninputsplitqwertylafdatamgr.cpp	Fri Mar 12 15:44:07 2010 +0200
@@ -451,6 +451,19 @@
     data->iClearButton.iInnerRect = OffsetRect( rectXInner, dx, dy );
     dx += rectXPane.Width();   
 
+    keyText = AknLayoutScalable_Avkon::popup_fep_char_pre_window_t1(0).LayoutLine();
+    
+    linelayout = AknLayoutScalable_Avkon::popup_fep_char_pre_window(0).LayoutLine();
+    layoutrect.LayoutRect( pic3paneRect.Rect(), linelayout );
+    TRect preBubbleRect = layoutrect.Rect();
+    preBubbleRect.Move( -preBubbleRect.iTl );
+    TRect preBubbleInner = preBubbleRect;
+    preBubbleInner.Shrink( 10, 10 );
+    
+    data->iPreviewWndText = keyText;
+    data->iPreviewWndRect = preBubbleRect;
+    data->iPreviewWndInnerRect = preBubbleInner;
+    
     return data;
     }