fix: improve notif expand btn
This commit is contained in:
parent
87cecbded1
commit
ecf6c84290
1 changed files with 6 additions and 0 deletions
|
|
@ -352,6 +352,7 @@ StyledRect {
|
|||
|
||||
anchors.right: parent.right
|
||||
anchors.top: parent.top
|
||||
anchors.topMargin: -Tokens.padding.extraSmall
|
||||
|
||||
implicitWidth: expandIcon.implicitHeight
|
||||
implicitHeight: expandIcon.implicitHeight
|
||||
|
|
@ -366,10 +367,15 @@ StyledRect {
|
|||
id: expandIcon
|
||||
|
||||
anchors.centerIn: parent
|
||||
anchors.verticalCenterOffset: root.expanded ? -1 : 1
|
||||
text: "expand_more"
|
||||
fontStyle: Tokens.font.icon.medium
|
||||
rotation: root.expanded ? 180 : 0
|
||||
|
||||
Behavior on anchors.verticalCenterOffset {
|
||||
Anim {}
|
||||
}
|
||||
|
||||
Behavior on rotation {
|
||||
Anim {}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue