Fix binding loops

This commit is contained in:
Tobias Fella
2026-02-17 00:03:20 +01:00
parent b1595a4556
commit 52302f0f5c
2 changed files with 2 additions and 3 deletions

View File

@@ -87,7 +87,6 @@ QQC2.Control {
}
ColumnLayout {
id: column
Layout.preferredWidth: Math.max(linkPreviewTitle.implicitWidth, linkPreviewDescription.implicitWidth)
Layout.fillWidth: true
spacing: Kirigami.Units.smallSpacing
Kirigami.Heading {
@@ -108,7 +107,7 @@ QQC2.Control {
text: root.linkPreviewer.title
font: linkPreviewTitle.font
elide: Text.ElideRight
elideWidth: linkPreviewTitle.width
elideWidth: column.width
}
}
QQC2.Label {

View File

@@ -72,7 +72,7 @@ QQC2.TextArea {
*/
property bool isReply: false
Layout.fillWidth: true
Layout.fillWidth: NeoChatConfig.compactLayout
Layout.maximumWidth: Message.maxContentWidth
Keys.onPressed: (event) => {