Skip to content

Commit

Permalink
gui/tray: Prevent talk reply text field being too wide and breaking l…
Browse files Browse the repository at this point in the history
…ayout

Signed-off-by: Claudio Cambra <[email protected]>
  • Loading branch information
claucambra authored and mgallien committed Feb 11, 2025
1 parent 9f553d8 commit 349f667
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/gui/tray/ActivityItemContent.qml
Original file line number Diff line number Diff line change
Expand Up @@ -227,13 +227,14 @@ RowLayout {

Item {
Layout.fillWidth: true
visible: !talkReplyMessageSent.visible
}

EnforcedPlainTextLabel {
id: talkReplyMessageSent

height: (text === "") ? 0 : implicitHeight
width: parent.width
Layout.maximumWidth: parent.width / 2
Layout.alignment: Qt.AlignTop | Qt.AlignRight

text: root.activityData.messageSent
Expand Down

0 comments on commit 349f667

Please sign in to comment.