uiux(StatusUpdate): add separator and fine-tune margins

This commit is contained in:
Pascal Precht 2020-12-10 14:33:03 +01:00 committed by Pascal Precht
parent f512d5063c
commit 743858837a
1 changed files with 6 additions and 1 deletions

View File

@ -9,7 +9,7 @@ Rectangle {
property var clickMessage: function () {}
anchors.top: parent.top
anchors.topMargin: authorCurrentMsg != authorPrevMsg ? Style.current.smallPadding : 0
anchors.topMargin: 0
height: (isImage ? chatImageContent.height : chatText.height) + chatName.height + 2* Style.current.padding + (emojiReactions !== "" ? 20 : 0)
width: parent.width
radius: Style.current.radius
@ -142,4 +142,9 @@ Rectangle {
id: emojiReactionsComponent
EmojiReactions {}
}
Separator {
anchors.bottom: parent.bottom
visible: !root.hovered
}
}