--- a/textinput/peninputgenericitut/src/peninputgenericitutwindow.cpp Tue May 11 16:31:42 2010 +0300
+++ b/textinput/peninputgenericitut/src/peninputgenericitutwindow.cpp Tue May 25 13:03:44 2010 +0300
@@ -1250,7 +1250,9 @@
iDataMgr->RequestData( ESpellIndiPaneWithoutTextRect ));
TRect iconRect = TItutDataConverter::AnyToRect(
iDataMgr->RequestData( ESpellIndiIconWithoutTextRect ));
- TSize offset( 0, 6 );
+ TSize offset;
+ offset.iHeight = iconRect.iTl.iY - bubbleRect.iTl.iY;
+ offset.iWidth = iconRect.iTl.iX - bubbleRect.iTl.iX;
TSize size( iconRect.Width(), iconRect.Height());
iICF->MsgBubbleCtrl()->SetRect( bubbleRect );
@@ -1856,7 +1858,6 @@
// reconstruct shift icon when skin changed
TRAP_IGNORE(iStandardItutKp->ShiftIcon()->ReConstructL());
- TRAP_IGNORE(iStandardItutKp->StarIcon()->ReConstructL());
if ( iDataMgr->IsPortraitWest())
{
TRAP_IGNORE(iStandardItutKp->StarIcon()->ReConstructL());
@@ -2152,7 +2153,9 @@
iDataMgr->RequestData( EIndiPaneWithTextRect ));
TRect iconRect = TItutDataConverter::AnyToRect(
iDataMgr->RequestData( EIndiIconWithTextRect ));
- TSize offset( 60, 6 );
+ TSize offset;
+ offset.iHeight = iconRect.iTl.iY - bubbleRect.iTl.iY;
+ offset.iWidth = iconRect.iTl.iX - bubbleRect.iTl.iX;
TSize size( iconRect.Width(), iconRect.Height());
iICF->MsgBubbleCtrl()->SetRect( bubbleRect );
@@ -2170,7 +2173,9 @@
iDataMgr->RequestData( EIndiPaneWithoutTextRect ));
TRect iconRect = TItutDataConverter::AnyToRect(
iDataMgr->RequestData( EIndiIconWithoutTextRect ));
- TSize offset( 0, 6 );
+ TSize offset;
+ offset.iHeight = iconRect.iTl.iY - bubbleRect.iTl.iY;
+ offset.iWidth = iconRect.iTl.iX - bubbleRect.iTl.iX;
TSize size( iconRect.Width(), iconRect.Height());
iICF->MsgBubbleCtrl()->SetRect( bubbleRect );