uifw/EikStd/coctlsrc/eikspane.cpp
branchRCL_3
changeset 64 85902f042028
parent 56 d48ab3b357f1
child 72 a5e7a4f63858
--- a/uifw/EikStd/coctlsrc/eikspane.cpp	Tue Sep 14 21:48:24 2010 +0300
+++ b/uifw/EikStd/coctlsrc/eikspane.cpp	Wed Sep 15 12:29:17 2010 +0300
@@ -3726,6 +3726,18 @@
 
         // Read statuspane shape
         TRAP_IGNORE( GetShapeL( statusPaneRegion, ETrue, ETrue ) );
+        
+        // We need to subduce the rect of digital clock pane here, 
+        // because it stay on the bottom cba area always in landscape mode.
+        if (Layout_Meta_Data::IsLandscapeOrientation())
+            {
+            CEikStatusPaneLayoutTree* pane = iModel->CurrentLayout()->Find(TUid::Uid(EEikStatusPaneUidDigitalClock));
+            if (pane != NULL)
+                {
+                statusPaneRegion.SubRect(pane->Rect());
+                }
+            }
+        
         statusPaneRegion.Tidy();
 
         // Get largest possible rect that does not overlap with sp shape