Fix binding loops
This commit is contained in:
@@ -87,7 +87,6 @@ QQC2.Control {
|
|||||||
}
|
}
|
||||||
ColumnLayout {
|
ColumnLayout {
|
||||||
id: column
|
id: column
|
||||||
Layout.preferredWidth: Math.max(linkPreviewTitle.implicitWidth, linkPreviewDescription.implicitWidth)
|
|
||||||
Layout.fillWidth: true
|
Layout.fillWidth: true
|
||||||
spacing: Kirigami.Units.smallSpacing
|
spacing: Kirigami.Units.smallSpacing
|
||||||
Kirigami.Heading {
|
Kirigami.Heading {
|
||||||
@@ -108,7 +107,7 @@ QQC2.Control {
|
|||||||
text: root.linkPreviewer.title
|
text: root.linkPreviewer.title
|
||||||
font: linkPreviewTitle.font
|
font: linkPreviewTitle.font
|
||||||
elide: Text.ElideRight
|
elide: Text.ElideRight
|
||||||
elideWidth: linkPreviewTitle.width
|
elideWidth: column.width
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
QQC2.Label {
|
QQC2.Label {
|
||||||
|
|||||||
@@ -72,7 +72,7 @@ QQC2.TextArea {
|
|||||||
*/
|
*/
|
||||||
property bool isReply: false
|
property bool isReply: false
|
||||||
|
|
||||||
Layout.fillWidth: true
|
Layout.fillWidth: NeoChatConfig.compactLayout
|
||||||
Layout.maximumWidth: Message.maxContentWidth
|
Layout.maximumWidth: Message.maxContentWidth
|
||||||
|
|
||||||
Keys.onPressed: (event) => {
|
Keys.onPressed: (event) => {
|
||||||
|
|||||||
Reference in New Issue
Block a user