fix: fix image padding
This commit is contained in:
parent
c37ba24f7b
commit
7478415c64
|
@ -60,19 +60,17 @@ Item {
|
|||
Loader {
|
||||
id: chatImageContent
|
||||
active: isImage
|
||||
sourceComponent: chatImageComponent
|
||||
anchors.left: chatImage.right
|
||||
anchors.left: chatText.left
|
||||
anchors.leftMargin: 8
|
||||
anchors.top: chatReply.bottom
|
||||
}
|
||||
|
||||
Component {
|
||||
id: chatImageComponent
|
||||
sourceComponent: Component {
|
||||
ChatImage {
|
||||
imageSource: image
|
||||
imageWidth: 200
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Loader {
|
||||
id: stickerLoader
|
||||
|
@ -132,19 +130,17 @@ Item {
|
|||
Loader {
|
||||
id: imageLoader
|
||||
active: showImages
|
||||
sourceComponent: imageComponent
|
||||
anchors.left: chatImage.right
|
||||
anchors.left: chatText.left
|
||||
anchors.leftMargin: 8
|
||||
anchors.top: chatText.bottom
|
||||
}
|
||||
|
||||
Component {
|
||||
id: imageComponent
|
||||
sourceComponent: Component {
|
||||
ImageMessage {
|
||||
color: Style.current.transparent
|
||||
chatHorizontalPadding: 0
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Loader {
|
||||
id: audioPlayerLoader
|
||||
|
|
Loading…
Reference in New Issue