equal
deleted
inserted
replaced
2119 TInt line2 = FindLineIndex(*secondControl); |
2119 TInt line2 = FindLineIndex(*secondControl); |
2120 CEikCaptionedControl *ctrl1 = GetLineByLineAndPageIndex(line1, 0); |
2120 CEikCaptionedControl *ctrl1 = GetLineByLineAndPageIndex(line1, 0); |
2121 CEikCaptionedControl *ctrl2 = GetLineByLineAndPageIndex(line2, 0); |
2121 CEikCaptionedControl *ctrl2 = GetLineByLineAndPageIndex(line2, 0); |
2122 TryChangeFocusToL(ctrl2->iId); |
2122 TryChangeFocusToL(ctrl2->iId); |
2123 HandleOrientationSwitch(); |
2123 HandleOrientationSwitch(); |
|
2124 // In landscape mode, the first and second lines are at the same position, |
|
2125 // so set the height of first line¡¯s control to 0 to prevent it from being |
|
2126 // selected by touch event. |
|
2127 ctrl1->SetSize( TSize( ctrl1->Size().iWidth, 0 ) ); |
2124 |
2128 |
2125 UpdateLeftSoftKeyL(); |
2129 UpdateLeftSoftKeyL(); |
2126 _AKNTRACE( "[%s][%s] return EFalse", "CAknMultiLineDataQueryDialog", __FUNCTION__); |
2130 _AKNTRACE( "[%s][%s] return EFalse", "CAknMultiLineDataQueryDialog", __FUNCTION__); |
2127 return EFalse; |
2131 return EFalse; |
2128 } |
2132 } |