diff -r 2f259fa3e83a -r 8ca85d2f0db7 uifw/AvKon/src/eikfrlb.cpp --- a/uifw/AvKon/src/eikfrlb.cpp Tue Feb 02 01:00:49 2010 +0200 +++ b/uifw/AvKon/src/eikfrlb.cpp Fri Feb 19 23:04:46 2010 +0200 @@ -226,7 +226,8 @@ colors.iHighlightedText=iHighlightedTextColor; colors.iHighlightedBack=iHighlightedBackColor; - DrawBackgroundAndSeparatorLines( aItemTextRect ); + DrawBackgroundAndSeparatorLines( aItemTextRect, + aItemIndex != FormattedCellData()->ListBox()->BottomItemIndex() ); TBool highlightShown = ETrue; @@ -1344,7 +1345,8 @@ { } -void CFormattedCellListBoxItemDrawer::DrawBackgroundAndSeparatorLines( const TRect& aItemTextRect ) const +void CFormattedCellListBoxItemDrawer::DrawBackgroundAndSeparatorLines( + const TRect& aItemTextRect, TBool aDrawSeparator ) const { MAknsSkinInstance *skin = AknsUtils::SkinInstance(); CCoeControl* control = FormattedCellData()->Control(); @@ -1414,6 +1416,12 @@ transApi->StopDrawing(); } #endif // RD_UI_TRANSITION_EFFECTS_LIST + + if ( aDrawSeparator && + static_cast( control )->ItemsInSingleLine() == 1 ) + { + AknListUtils::DrawSeparator( *iGc, aItemTextRect, iTextColor ); + } } }