Animate TypingMembersBar

This commit is contained in:
miruka 2019-07-06 17:35:51 -04:00
parent 388967c737
commit 7b92264ef6

View File

@ -5,9 +5,13 @@ import "../Base"
HRectangle {
property alias label: typingLabel
color: HStyle.chat.typingMembers.background
implicitWidth: childrenRect.width
implicitHeight: typingLabel.text ? childrenRect.height : 0
color: HStyle.chat.typingMembers.background
Behavior on implicitHeight {
NumberAnimation { duration: HStyle.animationDuration }
}
Row {
spacing: 8