equal
deleted
inserted
replaced
492 |
492 |
493 // Bottom pane |
493 // Bottom pane |
494 TRect cellSpellRect; |
494 TRect cellSpellRect; |
495 cellSpellRect.iTl.iX = middleButtonPaneRect.iTl.iX; |
495 cellSpellRect.iTl.iX = middleButtonPaneRect.iTl.iX; |
496 cellSpellRect.iTl.iY = middleButtonPaneRect.iTl.iY + |
496 cellSpellRect.iTl.iY = middleButtonPaneRect.iTl.iY + |
497 itucellrect.Rect().Height() * 5 + 7; |
497 itucellrect.Rect().Height() * 5; |
498 cellSpellRect.SetHeight( itucellrect.Rect().Height()); |
498 cellSpellRect.SetHeight( itucellrect.Rect().Height()); |
499 cellSpellRect.SetWidth( itucellrect.Rect().Width()); |
499 cellSpellRect.SetWidth( itucellrect.Rect().Width()); |
500 |
500 |
501 // Left |
501 // Left |
502 bottomButton.LayoutRect( cellSpellRect, ituinnercell ); |
502 bottomButton.LayoutRect( cellSpellRect, ituinnercell ); |
905 |
905 |
906 iCandsUnitWidth = charpanerect1.Rect().Width(); |
906 iCandsUnitWidth = charpanerect1.Rect().Width(); |
907 iCandsUnitHeight = charpanerect1.Rect().Height() ; |
907 iCandsUnitHeight = charpanerect1.Rect().Height() ; |
908 |
908 |
909 iCandsSpinBtnHeight = listctrlrect.Rect().Height(); |
909 iCandsSpinBtnHeight = listctrlrect.Rect().Height(); |
|
910 |
|
911 TInt gapValue = ( iScreenSize.iWidth - ( |
|
912 iCandsUnitWidth + iCandsHorizontalMargin + KCandsAdjustment ) * 6 ) / 2; |
|
913 if ( gapValue < 0 ) |
|
914 { |
|
915 gapValue = 0; |
|
916 } |
|
917 |
910 iCandsSpellLTPos = charpanerect1.Rect().iTl; |
918 iCandsSpellLTPos = charpanerect1.Rect().iTl; |
|
919 iCandsSpellLTPos.iX = gapValue; |
911 iCandsLTPos = charpanerect3.Rect().iTl; |
920 iCandsLTPos = charpanerect3.Rect().iTl; |
|
921 iCandsLTPos.iX = gapValue; |
912 iCandsPuncLTPos = iCandsSpellLTPos; |
922 iCandsPuncLTPos = iCandsSpellLTPos; |
913 |
923 |
914 TAknTextLineLayout candstxtlayout = |
924 TAknTextLineLayout candstxtlayout = |
915 AknLayoutScalable_Apps::cell_vitu2_dropdown_list_char_pane_t1().LayoutLine(); |
925 AknLayoutScalable_Apps::cell_vitu2_dropdown_list_char_pane_t1().LayoutLine(); |
916 TAknLayoutText candstxt; |
926 TAknLayoutText candstxt; |