[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-commits
Subject:    [gcompris] src/activities/letter-in-word: letter-in-word, change card text color in black
From:       Bruno Coudoin <bruno.coudoin () gcompris ! net>
Date:       2016-11-10 0:40:36
Message-ID: E1c4dPw-0001Bx-RA () code ! kde ! org
[Download RAW message or body]

Git commit 89dd4253d5c3164c8a5c872bb311663c45968f4f by Bruno Coudoin.
Committed on 10/11/2016 at 00:39.
Pushed by bcoudoin into branch 'master'.

letter-in-word, change card text color in black

Text is more readable in black on a light color.

M  +2    -2    src/activities/letter-in-word/Card.qml

http://commits.kde.org/gcompris/89dd4253d5c3164c8a5c872bb311663c45968f4f

diff --git a/src/activities/letter-in-word/Card.qml b/src/activities/letter-in-word/Card.qml
index 0d97ac7..0e8879f 100755
--- a/src/activities/letter-in-word/Card.qml
+++ b/src/activities/letter-in-word/Card.qml
@@ -55,7 +55,7 @@ Item {
             id: textItem
             z: 11
             // textFound is the rich text with letter found, spelling is the text in the dataset
-            text:"<font color=\"white\">" + (selected ? textFound : spelling) + "</font>"
+            text:"<font color=\"#2a2a2a\">" + (selected ? textFound : spelling) + "</font>"
             property string textFound: spelling
             textFormat: Text.RichText
             font.pointSize: NaN  // need to clear font.pointSize explicitly
@@ -67,7 +67,7 @@ Item {
             wrapMode: spelling.indexOf(' ') === -1 ? Text.WrapAnywhere : Text.WordWrap
             verticalAlignment: Text.AlignVCenter
             horizontalAlignment: Text.AlignHCenter
-            styleColor: "#2a2a2a"
+            styleColor: "white"
         }
 
         ParticleSystemStarLoader {
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic