--- 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);
+ }
}
}
}