mirror of
https://github.com/Nheko-Reborn/nheko.git
synced 2024-10-30 09:30:47 +03:00
Fix message height
This commit is contained in:
parent
9ce1e205e6
commit
8e61596d15
1 changed files with 1 additions and 2 deletions
|
@ -103,7 +103,7 @@ Item {
|
||||||
|
|
||||||
ListView.delayRemove: true
|
ListView.delayRemove: true
|
||||||
anchors.horizontalCenter: parent ? parent.horizontalCenter : undefined
|
anchors.horizontalCenter: parent ? parent.horizontalCenter : undefined
|
||||||
height: section.active ? section.height + timelinerow.height : timelinerow.height
|
height: (section.item?.height ?? 0) + timelinerow.height
|
||||||
width: chat.delegateMaxWidth
|
width: chat.delegateMaxWidth
|
||||||
|
|
||||||
Loader {
|
Loader {
|
||||||
|
@ -506,7 +506,6 @@ Item {
|
||||||
|
|
||||||
Column {
|
Column {
|
||||||
bottomPadding: Settings.bubbles ? (isSender && previousMessageDay == day ? 0 : 2) : 3
|
bottomPadding: Settings.bubbles ? (isSender && previousMessageDay == day ? 0 : 2) : 3
|
||||||
height: ((previousMessageDay !== day) ? dateBubble.height : 0) + (isStateEvent ? 0 : userName.height + 8)
|
|
||||||
spacing: 8
|
spacing: 8
|
||||||
topPadding: userName_.visible ? 4 : 0
|
topPadding: userName_.visible ? 4 : 0
|
||||||
visible: (previousMessageUserId !== userId || previousMessageDay !== day || isStateEvent !== previousMessageIsStateEvent)
|
visible: (previousMessageUserId !== userId || previousMessageDay !== day || isStateEvent !== previousMessageIsStateEvent)
|
||||||
|
|
Loading…
Reference in a new issue