Improve images in the chatbar

- Don't show the hide button
- Shrink them to better fit
- Allow a little more maxh height in the chatbar for attachments
- Make sure that the button states work properly when adding and removing images
This commit is contained in:
James Graham
2026-02-08 14:25:54 +00:00
parent f02366ee48
commit 60cf12524f
7 changed files with 71 additions and 26 deletions

View File

@@ -498,6 +498,7 @@ void ChatBarMessageContentModel::removeAttachment()
mediaRow = 1;
}
removeComponent(mediaRow);
refocusCurrentComponent();
if (m_room) {
m_room->cacheForType(m_type)->setAttachmentPath({});
}