voicerecorder/RecViewSrc/CVRStateInfoPanel.cpp
branchRCL_3
changeset 13 4e5b531d23cb
parent 0 845549f293a7
child 14 f962425b9f8b
--- a/voicerecorder/RecViewSrc/CVRStateInfoPanel.cpp	Tue Apr 27 16:40:59 2010 +0300
+++ b/voicerecorder/RecViewSrc/CVRStateInfoPanel.cpp	Tue May 11 16:15:58 2010 +0300
@@ -171,12 +171,36 @@
 // ----------------------------------------------------------------------------
 //		
 void CVRStateInfoPanel::SizeChanged()
-	{
-	
-	for ( TInt i = 0; i < ENumLabels; i++ )
-		{
-		TAknTextComponentLayout layoutText = AknLayoutScalable_Apps::vorec_t(
-			KVRLabelMap[i] );
+    {
+    TAknTextComponentLayout layoutText;
+    
+    for ( TInt i = 0; i < ENumLabels; i++ )
+        {
+        switch ( KVRLabelMap[i] )
+            {
+            case 0: 
+                layoutText = AknLayoutScalable_Apps::vorec_t1();
+                break;
+            case 1:
+                layoutText = AknLayoutScalable_Apps::vorec_t2();
+                break;
+            case 2: 
+                layoutText = AknLayoutScalable_Apps::vorec_t3();
+                break;
+            case 3:
+                layoutText = AknLayoutScalable_Apps::vorec_t4();
+                break;
+            case 4: 
+                layoutText = AknLayoutScalable_Apps::vorec_t5();
+                break;
+            case 5:
+                layoutText = AknLayoutScalable_Apps::vorec_t6();
+                break;
+            case 6:
+                layoutText = AknLayoutScalable_Apps::vorec_t7();
+                break;          
+            }
+        
 		AknLayoutUtils::LayoutLabel( iLabels.At( i ), Rect(), layoutText.LayoutLine() );
 		
 		if ( i != ELabelStatus )