uiux(StatusUpdate): add separator and fine-tune margins
This commit is contained in:
parent
f512d5063c
commit
743858837a
|
@ -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
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue