javauis/lcdui_akn/lcdui/src/CMIDChoiceGroupControl.cpp
branchRCL_3
changeset 34 71c436fe3ce0
parent 25 9ac0a0a7da70
child 59 e5618cc85d74
--- a/javauis/lcdui_akn/lcdui/src/CMIDChoiceGroupControl.cpp	Tue May 25 12:34:19 2010 +0300
+++ b/javauis/lcdui_akn/lcdui/src/CMIDChoiceGroupControl.cpp	Wed Jun 09 09:34:07 2010 +0300
@@ -1170,9 +1170,12 @@
 {
     if (aText.Length())
     {
+        // Get color from skin
         TRgb rgb = AKN_LAF_COLOR(215);
+        TInt textColor = IsFocused() ? EAknsCIQsnTextColorsCG8 : EAknsCIQsnTextColorsCG6;
+
         AknsUtils::GetCachedColor(AknsUtils::SkinInstance(),
-                                  rgb,KAknsIIDQsnTextColors, EAknsCIQsnTextColorsCG8);
+                                  rgb,KAknsIIDQsnTextColors, textColor);
         iPopupTextLayout.DrawText(SystemGc(), aText, ETrue, rgb);
     }
 }