mirror of
https://github.com/status-im/status-desktop.git
synced 2025-02-17 00:56:39 +00:00
fix(StatusChatInput): ensure anchors of textfield are set correctly
This broke when we removed timeline support. Most likely because `profileImage` is undefined, the entire expression fails, leaving `anchors.left` `undefined`, causing the text area to be slammed to the right.
This commit is contained in:
parent
b92ac455c9
commit
b57bb21e13
@ -846,7 +846,7 @@ Rectangle {
|
||||
id: scrollView
|
||||
anchors.top: parent.top
|
||||
anchors.bottom: parent.bottom
|
||||
anchors.left: profileImage.visible ? profileImage.right : parent.left
|
||||
anchors.left: parent.left
|
||||
anchors.leftMargin: Style.current.smallPadding
|
||||
anchors.right: actions.left
|
||||
anchors.rightMargin: Style.current.halfPadding
|
||||
|
Loading…
x
Reference in New Issue
Block a user