[#2574] Increased reply TextInput's height to avoid bottom cutting

This commit is contained in:
Alexandra Betouni 2021-07-02 19:13:53 +03:00 committed by Iuri Matias
parent 0f66508a79
commit bcfdf8b557

View File

@ -27,7 +27,7 @@ Loader {
id: chatReply id: chatReply
// childrenRect.height shows a binding loop for some reason, so we use heights instead // childrenRect.height shows a binding loop for some reason, so we use heights instead
height: { height: {
const h = userImage.height + 2 const h = userImage.height + 4
if (repliedMessageType === Constants.imageType) { if (repliedMessageType === Constants.imageType) {
return h + imgReplyImage.height return h + imgReplyImage.height
} }
@ -149,7 +149,7 @@ Loader {
font.pixelSize: Style.current.secondaryTextFontSize font.pixelSize: Style.current.secondaryTextFontSize
anchors.left: userImage.left anchors.left: userImage.left
width: root.longReply ? parent.width : implicitWidth width: root.longReply ? parent.width : implicitWidth
height: 18 height: 20
clip: true clip: true
z: 51 z: 51
} }