Skip to content

Commit

Permalink
QML UI: More subtle indication of new episodes in podcast
Browse files Browse the repository at this point in the history
  • Loading branch information
thp committed Mar 2, 2013
1 parent 36fa073 commit d7a661d
Showing 1 changed file with 15 additions and 1 deletion.
16 changes: 15 additions & 1 deletion share/gpodder/ui/qml/PodcastItem.qml
Expand Up @@ -59,19 +59,33 @@ SelectableItem {
height: width
sourceSize.width: width
sourceSize.height: height
clip: true

anchors {
verticalCenter: parent.verticalCenter
left: counterBox.right
leftMargin: Config.smallSpacing
}

Rectangle {
anchors {
horizontalCenter: parent.right
verticalCenter: parent.bottom
}
opacity: .5
color: Config.newColor
visible: counters.newEpisodes > 0
width: parent.width * .6
height: width
rotation: 45
}
}

Label {
id: titleBox

text: modelData.qtitle
color: (counters.newEpisodes > 0)?Config.newColor:"white"
color: 'white'

anchors {
verticalCenter: parent.verticalCenter
Expand Down

0 comments on commit d7a661d

Please sign in to comment.