[ExpandableListItem] Use more semantically correct expand and collapse icons

This commit is contained in:
Nate Graham 2020-04-13 14:34:33 -06:00
parent 3743e9d674
commit 359ac6bcc0

View File

@ -460,10 +460,7 @@ MouseArea {
PlasmaComponents3.Button {
visible: listItem.containsMouse
// TODO: "collapse-all" and "expand-all" would be more
// semantically appropriate, but they have an extra horizontal
// line and don't look right here
icon.name: expandedView.visible? "go-up" : "go-down"
icon.name: expandedView.visible? "collapse" : "expand"
icon.width: units.iconSizes.smallMedium
icon.height: units.iconSizes.smallMedium