Adjust accordion arrows to match default UX (see sample components)

This commit is contained in:
Sebastian Wolf 2021-08-30 19:25:49 +02:00
parent 8bd4ff9102
commit bb9cacb71e
No known key found for this signature in database
GPG key ID: CEA9522B5F38A90A

View file

@ -32,7 +32,7 @@ Item {
states: [
State {
when: area.expanded
PropertyChanges { target: image; rotation: 90 }
PropertyChanges { target: image; rotation: -90 }
PropertyChanges { target: content; height: content.implicitHeight + Theme.paddingLarge; opacity: 1.0 }
}
]
@ -91,7 +91,7 @@ Item {
width: visible ? Theme.iconSizeMedium : 0
highlighted: parent.highlighted
source: "image://theme/icon-m-right"
rotation: -90
rotation: 90
}
}
Loader {