diff -r 0396474f30f5 -r 4ce476e64c59 emailuis/uicomponents/src/fstreeplainonelineitemvisualizer.cpp --- a/emailuis/uicomponents/src/fstreeplainonelineitemvisualizer.cpp Mon Mar 15 12:39:10 2010 +0200 +++ b/emailuis/uicomponents/src/fstreeplainonelineitemvisualizer.cpp Wed Mar 31 21:08:33 2010 +0300 @@ -241,6 +241,12 @@ mainIconMetrics, rect, mainIconVariety ); + // WORKAROUND FIX FOR LAYOUT PROBLEM -- RETURN THIS TO NORMAL WHEN LAYOUT'S ARE OK + if (rect.iTl.iY < 15) + { + rect.Move(0, 15 - rect.iTl.iY); + } + // WORKAROUND FIX FOR LAYOUT PROBLEM -- RETURN THIS TO NORMAL WHEN LAYOUT'S ARE OK tpMainIconTl.SetTarget(TAlfRealPoint(rect.iTl)); tpMainIconBr.SetTarget(TAlfRealPoint(rect.iBr)); @@ -249,6 +255,12 @@ markIconMetrics, rect, markIconVariety ); + // WORKAROUND FIX FOR LAYOUT PROBLEM -- RETURN THIS TO NORMAL WHEN LAYOUT'S ARE OK + if (rect.iTl.iY < 15) + { + rect.Move(0, 15 - rect.iTl.iY); + } + // WORKAROUND FIX FOR LAYOUT PROBLEM -- RETURN THIS TO NORMAL WHEN LAYOUT'S ARE OK tpMarkIconTl.SetTarget(TAlfRealPoint(rect.iTl)); tpMarkIconBr.SetTarget(TAlfRealPoint(rect.iBr)); @@ -257,6 +269,12 @@ menuIconMetrics, rect, menuIconVariety ); + // WORKAROUND FIX FOR LAYOUT PROBLEM -- RETURN THIS TO NORMAL WHEN LAYOUT'S ARE OK + if (rect.iTl.iY < 15) + { + rect.Move(0, 15 - rect.iTl.iY); + } + // WORKAROUND FIX FOR LAYOUT PROBLEM -- RETURN THIS TO NORMAL WHEN LAYOUT'S ARE OK tpMenuIconTl.SetTarget(TAlfRealPoint(rect.iTl)); tpMenuIconBr.SetTarget(TAlfRealPoint(rect.iBr)); @@ -275,6 +293,12 @@ CFsLayoutManager::LayoutMetricsText(textRect, textMetrics, textInfo, textPaneVariety); + // WORKAROUND FIX FOR LAYOUT PROBLEM -- RETURN THIS TO NORMAL WHEN LAYOUT'S ARE OK + if (textInfo.iTextRect.iTl.iY < 15) + { + textInfo.iTextRect.Move(0, 15 - textInfo.iTextRect.iTl.iY); + } + // WORKAROUND FIX FOR LAYOUT PROBLEM -- RETURN THIS TO NORMAL WHEN LAYOUT'S ARE OK tpTextTl.SetTarget(TAlfRealPoint(textInfo.iTextRect.iTl)); tpTextBr.SetTarget(TAlfRealPoint(textInfo.iTextRect.iBr));