reduce replied-to message to implicitWidth if non-bubble layout is used

This commit is contained in:
Malte E 2022-03-10 21:54:26 +01:00
parent 8fa912ed85
commit 7ec0539476

View file

@ -103,6 +103,7 @@ Item {
Layout.row: 0 Layout.row: 0
Layout.column: 0 Layout.column: 0
Layout.fillWidth: true Layout.fillWidth: true
Layout.maximumWidth: Settings.bubbles? Number.MAX_VALUE : implicitWidth
Layout.bottomMargin: visible? 2 : 0 Layout.bottomMargin: visible? 2 : 0
Layout.preferredHeight: height Layout.preferredHeight: height
id: reply id: reply