emailuis/uicomponents/src/fstreeplaintwolineitemvisualizer.cpp
branchRCL_3
changeset 14 b13141f05c3d
parent 12 4ce476e64c59
equal deleted inserted replaced
13:8592a65ad3fb 14:b13141f05c3d
    10 * Nokia Corporation - initial contribution.
    10 * Nokia Corporation - initial contribution.
    11 *
    11 *
    12 * Contributors:
    12 * Contributors:
    13 *
    13 *
    14 *  Description : A visualizer for data items with plain text.
    14 *  Description : A visualizer for data items with plain text.
    15 *  Version     : %version: tr1sido#16 %
    15 *  Version     : %version: tr1sido#17 %
    16 *
    16 *
    17 */
    17 */
    18 
    18 
    19 
    19 
    20 //<cmail> removed __FS_ALFRED_SUPPORT flag
    20 //<cmail> removed __FS_ALFRED_SUPPORT flag
  1245         CFsLayoutManager::TFsText subjTextInfo;
  1245         CFsLayoutManager::TFsText subjTextInfo;
  1246 
  1246 
  1247         if ((iFlags & KFsTreeListItemAlwaysExtended) ||
  1247         if ((iFlags & KFsTreeListItemAlwaysExtended) ||
  1248                 (iFlags & KFsTreeListItemExtended))
  1248                 (iFlags & KFsTreeListItemExtended))
  1249             {
  1249             {
  1250             TRect secondLineParentRect;
  1250             TRect secondLineParentRect;            
  1251             
  1251             CFsLayoutManager::LayoutMetricsRect(currentSize, CFsLayoutManager::EFsLmListSingleDycRowPane, secondLineParentRect, 1, 1);            
  1252             // WORKAROUND FIX FOR LAYOUT PROBLEM -- RETURN THIS TO NORMAL WHEN LAYOUT'S ARE OK
       
  1253             //CFsLayoutManager::LayoutMetricsRect(currentSize, CFsLayoutManager::EFsLmListSingleDycRowPane, secondLineParentRect, 1, 1);
       
  1254             CFsLayoutManager::LayoutMetricsRect(currentSize, CFsLayoutManager::EFsLmListSingleDycRowPane, secondLineParentRect, 2, 1);
       
  1255             // WORKAROUND FIX FOR LAYOUT PROBLEM -- RETURN THIS TO NORMAL WHEN LAYOUT'S ARE OK
       
  1256             
       
  1257             CFsLayoutManager::LayoutMetricsRect(secondLineParentRect, CFsLayoutManager::EFsLmListSingleDycRowTextPane, secondLineParentRect, secondLineTextVariety);
  1252             CFsLayoutManager::LayoutMetricsRect(secondLineParentRect, CFsLayoutManager::EFsLmListSingleDycRowTextPane, secondLineParentRect, secondLineTextVariety);
  1258             CFsLayoutManager::LayoutMetricsText(secondLineParentRect,
  1253             CFsLayoutManager::LayoutMetricsText(secondLineParentRect,
  1259                     secondLineTextMetrics, subjTextInfo, secondLineTextVariety);
  1254                     secondLineTextMetrics, subjTextInfo, secondLineTextVariety);
  1260             }
  1255             }
  1261         else
  1256         else