Fix RoomHeader title width calculation

This commit is contained in:
miruka 2019-05-16 15:50:14 -04:00
parent 1c24edb166
commit 7f3ced682f
2 changed files with 3 additions and 3 deletions

View File

@ -44,7 +44,7 @@
- Links preview
- Client improvements
- Filtering rooms: smart case, fuzzy filter, search more than display names
- Filtering rooms: search more than display names?
- nio.MatrixRoom has `typing_users`, no need to handle it on our own
- Don't send setTypingState False when focus lost if nothing in sendbox
- Initial sync filter and lazy load, see weechat-matrix `_handle_login()`
@ -54,7 +54,7 @@
- Direct chats category
- On sync, check messages API, if a limited sync timeline was received
- Markdown: don't turn #things into title (space), disable __ syntax
- Push instead of replacing in stack view
- Push instead of replacing in stack view (remove getMemberFilter when done)
- Make links in room subtitle clickable, formatting?
- `<pre>` scrollbar on overflow
- Handle cases where an avatar char is # or @ (#alias room, @user\_id)

View File

@ -36,7 +36,7 @@ HRectangle {
Layout.maximumWidth: Math.max(
0,
row.width - Layout.leftMargin * 2 - avatar.width -
row.width - row.totalSpacing - avatar.width -
viewButtons.width -
(expandButton.visible ? expandButton.width : 0)
)