mirror of
https://github.com/status-im/status-desktop.git
synced 2025-02-04 10:44:23 +00:00
[#2574] Increased reply TextInput's height to avoid bottom cutting
This commit is contained in:
parent
0f66508a79
commit
bcfdf8b557
@ -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
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user