uifw/AvKon/src/AknQueryDialog.cpp
branchRCL_3
changeset 64 85902f042028
parent 56 d48ab3b357f1
child 72 a5e7a4f63858
--- a/uifw/AvKon/src/AknQueryDialog.cpp	Tue Sep 14 21:48:24 2010 +0300
+++ b/uifw/AvKon/src/AknQueryDialog.cpp	Wed Sep 15 12:29:17 2010 +0300
@@ -2121,6 +2121,10 @@
 				CEikCaptionedControl *ctrl2 = GetLineByLineAndPageIndex(line2, 0);
 				TryChangeFocusToL(ctrl2->iId);
                 HandleOrientationSwitch();
+                // In landscape mode, the first and second lines are at the same position, 
+                // so set the height of first line¡¯s control to 0 to prevent it from being 
+                // selected by touch event.
+                ctrl1->SetSize( TSize( ctrl1->Size().iWidth, 0 ) );
 
                 UpdateLeftSoftKeyL();
                 _AKNTRACE( "[%s][%s] return EFalse", "CAknMultiLineDataQueryDialog", __FUNCTION__);