emailuis/uicomponents/src/fstreeplainonelineitemvisualizer.cpp
changeset 1 12c456ceeff2
parent 0 8466d47a6819
child 3 a4d6f1ea0416
--- a/emailuis/uicomponents/src/fstreeplainonelineitemvisualizer.cpp	Thu Dec 17 08:39:21 2009 +0200
+++ b/emailuis/uicomponents/src/fstreeplainonelineitemvisualizer.cpp	Thu Jan 07 12:38:38 2010 +0200
@@ -223,6 +223,10 @@
         }
 
     TRect currentSize = iSize;
+    if ( !IsLayoutHintSet( EFolderLayout ) )
+        {
+        CFsLayoutManager::LayoutMetricsRect(currentSize, CFsLayoutManager::EFsLmListSingleDycRowPane, currentSize);
+        }
     if (CFsLayoutManager::IsMirrored())
         {
         currentSize.iBr = currentSize.iBr - TPoint(aIndentation, 0);
@@ -572,8 +576,12 @@
                 }
                 }
 
-            iTextMarquee->StopScrolling();           
-            iTextVisual->SetWrapping(CAlfTextVisual::ELineWrapTruncate);
+            iTextMarquee->StopScrolling();    
+            
+            if ( iTextVisual )
+            	{
+            	iTextVisual->SetWrapping(CAlfTextVisual::ELineWrapTruncate);
+            	}
             }
         }
     }