--- a/uifw/AvKon/src/aknutils.cpp Thu Jul 15 18:56:19 2010 +0300
+++ b/uifw/AvKon/src/aknutils.cpp Thu Aug 19 10:11:06 2010 +0300
@@ -5300,8 +5300,21 @@
CleanupStack::PopAndDestroy(); // wrapWidthArray
} ); // TRAP end
- // there is no layout for empty popuplist
- if ( error != KErrNone || popupList )
+ if ( error == KErrNone )
+ {
+ n = 0;
+ for ( i = 0; i < buffer.Length(); i++ )
+ {
+ if ( buffer[i] == '\n' )
+ {
+ n++;
+ }
+ }
+ }
+
+ // There is no layout for empty popuplist
+ // The second layout that 2 lines with big font is used for two lines text.
+ if ( n < 3 || error != KErrNone || popupList )
{
DrawEmptyListImpl_real_DrawUpToTwoLines( aGc, aText, line1, line2,
line1length, line2length,