Adapt play buttons to theme and remove accidental message bg
This commit is contained in:
parent
51d7e64992
commit
01bd9f659d
@ -85,6 +85,7 @@ Item {
|
|||||||
property Item section
|
property Item section
|
||||||
width: chat.width
|
width: chat.width
|
||||||
height: section ? section.height + timelinerow.height : timelinerow.height
|
height: section ? section.height + timelinerow.height : timelinerow.height
|
||||||
|
color: "transparent"
|
||||||
|
|
||||||
TimelineRow {
|
TimelineRow {
|
||||||
id: timelinerow
|
id: timelinerow
|
||||||
|
@ -89,7 +89,7 @@ Rectangle {
|
|||||||
id: img
|
id: img
|
||||||
anchors.centerIn: parent
|
anchors.centerIn: parent
|
||||||
|
|
||||||
source: "qrc:/icons/icons/ui/arrow-pointing-down.png"
|
source: "image://colorimage/:/icons/icons/ui/arrow-pointing-down.png?"+colors.dark
|
||||||
fillMode: Image.Pad
|
fillMode: Image.Pad
|
||||||
|
|
||||||
}
|
}
|
||||||
@ -132,11 +132,11 @@ Rectangle {
|
|||||||
states: [
|
states: [
|
||||||
State {
|
State {
|
||||||
name: "stopped"
|
name: "stopped"
|
||||||
PropertyChanges { target: img; source: "qrc:/icons/icons/ui/play-sign.png" }
|
PropertyChanges { target: img; source: "image://colorimage/:/icons/icons/ui/play-sign.png?"+colors.dark }
|
||||||
},
|
},
|
||||||
State {
|
State {
|
||||||
name: "playing"
|
name: "playing"
|
||||||
PropertyChanges { target: img; source: "qrc:/icons/icons/ui/pause-symbol.png" }
|
PropertyChanges { target: img; source: "image://colorimage/:/icons/icons/ui/pause-symbol.png?"+colors.dark }
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user