Fix typo
This commit is contained in:
@@ -30,7 +30,7 @@ MouseArea {
|
|||||||
}
|
}
|
||||||
|
|
||||||
Kirigami.Avatar {
|
Kirigami.Avatar {
|
||||||
id: avatatReply
|
id: replyAvatar
|
||||||
anchors.left: replyLeftBorder.right
|
anchors.left: replyLeftBorder.right
|
||||||
anchors.leftMargin: Kirigami.Units.smallSpacing
|
anchors.leftMargin: Kirigami.Units.smallSpacing
|
||||||
width: visible ? Kirigami.Units.gridUnit : 0
|
width: visible ? Kirigami.Units.gridUnit : 0
|
||||||
@@ -47,7 +47,7 @@ MouseArea {
|
|||||||
QQC2.Label {
|
QQC2.Label {
|
||||||
id: replyName
|
id: replyName
|
||||||
anchors {
|
anchors {
|
||||||
left: avatatReply.right
|
left: replyAvatar.right
|
||||||
leftMargin: Kirigami.Units.smallSpacing
|
leftMargin: Kirigami.Units.smallSpacing
|
||||||
right: parent.right
|
right: parent.right
|
||||||
rightMargin: Kirigami.Units.smallSpacing
|
rightMargin: Kirigami.Units.smallSpacing
|
||||||
@@ -80,7 +80,7 @@ MouseArea {
|
|||||||
textMessage: reply.display
|
textMessage: reply.display
|
||||||
textFormat: Text.RichText
|
textFormat: Text.RichText
|
||||||
width: Math.min(implicitWidth, bubbleMaxWidth - Kirigami.Units.largeSpacing * 3)
|
width: Math.min(implicitWidth, bubbleMaxWidth - Kirigami.Units.largeSpacing * 3)
|
||||||
x: Kirigami.Units.smallSpacing * 3 + avatatReply.width
|
x: Kirigami.Units.smallSpacing * 3 + replyAvatar.width
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -94,9 +94,9 @@ MouseArea {
|
|||||||
readonly property string mediaId: isThumbnail ? content.thumbnailMediaId : content.mediaId
|
readonly property string mediaId: isThumbnail ? content.thumbnailMediaId : content.mediaId
|
||||||
source: "image://mxc/" + mediaId
|
source: "image://mxc/" + mediaId
|
||||||
|
|
||||||
width: bubbleMaxWidth * 0.75 - Kirigami.Units.smallSpacing * 5 - avatatReply.width
|
width: bubbleMaxWidth * 0.75 - Kirigami.Units.smallSpacing * 5 - replyAvatar.width
|
||||||
height: reply.content.info.h / reply.content.info.w * width
|
height: reply.content.info.h / reply.content.info.w * width
|
||||||
x: Kirigami.Units.smallSpacing * 3 + avatatReply.width
|
x: Kirigami.Units.smallSpacing * 3 + replyAvatar.width
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user