~elopio/unity8/fix1335548-click_scope_item

« back to all changes in this revision

Viewing changes to qml/Dash/Previews/PreviewRatingDisplay.qml

  • Committer: Leo Arias
  • Date: 2014-07-10 14:13:39 UTC
  • mfrom: (973.1.63 unity8)
  • Revision ID: leo.arias@canonical.com-20140710141339-hep6nmh2jdqq9pa3
Merged with trunk.

Show diffs side-by-side

added added

removed removed

Lines of Context:
61
61
                    size: 5
62
62
                    value: modelData["rating"] || -1
63
63
                    visible: value >= 0
 
64
                    interactive: false
64
65
 
65
66
                    property var urlIconEmpty: widgetData["rating-icon-empty"]
66
67
                    property var urlIconFull: widgetData["rating-icon-full"]
71
72
                    id: authorLabel
72
73
                    objectName: "authorLabel"
73
74
                    anchors { left: parent.left; right: parent.right }
74
 
                    // TODO cimi: Yet another fix requiring Palette update.
75
 
                    color: "grey" //Theme.palette.selected.backgroundText
 
75
                    color: scopeStyle ? scopeStyle.foreground : "grey"
76
76
                    opacity: .8
77
77
                    text: modelData["author"] || ""
78
78
                    visible: text !== ""
83
83
                    id: reviewLabel
84
84
                    objectName: "reviewLabel"
85
85
                    anchors { left: parent.left; right: parent.right }
86
 
                    // TODO cimi: Yet another fix requiring Palette update.
87
 
                    color: "grey" //Theme.palette.selected.backgroundText
 
86
                    color: scopeStyle ? scopeStyle.foreground : "grey"
88
87
                    opacity: .8
89
88
                    text: modelData["review"] || ""
90
89
                    visible: text !== ""