Misc layout fixes

This commit is contained in:
Nicolas Werner 2019-10-08 21:26:52 +02:00
parent b9076c5c4d
commit d90038cf20
3 changed files with 7 additions and 1 deletions

View File

@ -118,6 +118,10 @@ Rectangle {
roleValue: MtxEvent.Redacted
TimelineRow { view: chat; Redacted { id: kid } }
}
DelegateChoice {
//roleValue: MtxEvent.Redacted
TimelineRow { view: chat; Placeholder { id: kid } }
}
}
@ -130,6 +134,8 @@ Rectangle {
width: parent.width
Component.onCompleted: chat.forceLayout()
Label {
id: dateBubble
anchors.horizontalCenter: parent.horizontalCenter

View File

@ -126,6 +126,6 @@
<file>qml/delegates/PlayableMediaMessage.qml</file>
<file>qml/delegates/FileMessage.qml</file>
<file>qml/delegates/Redacted.qml</file>
<file>qml/delegates/placeholder.qml</file>
<file>qml/delegates/Placeholder.qml</file>
</qresource>
</RCC>