diff options
author | Nicolas Werner <nicolas.werner@hotmail.de> | 2023-08-25 21:03:05 +0200 |
---|---|---|
committer | Nicolas Werner <nicolas.werner@hotmail.de> | 2023-08-25 21:03:05 +0200 |
commit | 55107ed0ce6d457b82fa2e64878712198a6c0f1f (patch) | |
tree | 77e032526bf6ebb4ea188acff426358e779a661e /resources/qml/delegates/Reply.qml | |
parent | Reimplement reply delegate by moving out the timeline event without layout (diff) | |
download | nheko-55107ed0ce6d457b82fa2e64878712198a6c0f1f.tar.xz |
Fix some reply layouting loops
Diffstat (limited to 'resources/qml/delegates/Reply.qml')
-rw-r--r-- | resources/qml/delegates/Reply.qml | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/resources/qml/delegates/Reply.qml b/resources/qml/delegates/Reply.qml index 55a376f7..52cc982d 100644 --- a/resources/qml/delegates/Reply.qml +++ b/resources/qml/delegates/Reply.qml @@ -24,6 +24,7 @@ AbstractButton { property string userName: eventId ? room.dataById(eventId, Room.UserName, "") : "" implicitHeight: replyContainer.implicitHeight implicitWidth: replyContainer.implicitWidth + property int maxWidth NhekoCursorShape { anchors.fill: parent @@ -48,14 +49,11 @@ AbstractButton { eventId: r.eventId replyTo: "" - width: parent.width - height: replyContainer.implicitHeight - //height: replyContainer.implicitHeight data: GridLayout { id: replyContainer - width: parent.width + width: r.maxWidth columns: 2 rows: 2 columnSpacing: Nheko.paddingMedium |