summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHarald Fernengel <harald.fernengel@nokia.com>2010-02-16 14:57:04 (GMT)
committerHarald Fernengel <harald.fernengel@nokia.com>2010-02-16 14:57:04 (GMT)
commitb966e7ef9a7d0c826d62dfaa2d4a7b6399a7d9a3 (patch)
treef4d342769a37408598b99a769babdb4b52e31774
parent7ff185d25de2a941e78cba72e4ec53913251cfbe (diff)
downloadQt-b966e7ef9a7d0c826d62dfaa2d4a7b6399a7d9a3.zip
Qt-b966e7ef9a7d0c826d62dfaa2d4a7b6399a7d9a3.tar.gz
Qt-b966e7ef9a7d0c826d62dfaa2d4a7b6399a7d9a3.tar.bz2
Fix palette on the N900
The N900 has by default black background with white text, but white line edits with black text. Use windowText for the "Score" label to make it readable. Reviewed-by: Alan Alpert <alan.alpert@nokia.com>
-rw-r--r--demos/declarative/samegame/samegame.qml2
1 files changed, 1 insertions, 1 deletions
diff --git a/demos/declarative/samegame/samegame.qml b/demos/declarative/samegame/samegame.qml
index c2557ae..f5c4fc5 100644
--- a/demos/declarative/samegame/samegame.qml
+++ b/demos/declarative/samegame/samegame.qml
@@ -89,7 +89,7 @@ Rectangle {
text: "Score: " + gameCanvas.score; font.bold: true
anchors.right: parent.right; anchors.rightMargin: 3
anchors.verticalCenter: parent.verticalCenter
- color: activePalette.text
+ color: activePalette.windowText
}
}
}