Fix RoomHeader title width calculation
This commit is contained in:
parent
1c24edb166
commit
7f3ced682f
4
TODO.md
4
TODO.md
@ -44,7 +44,7 @@
|
|||||||
- Links preview
|
- Links preview
|
||||||
|
|
||||||
- Client improvements
|
- 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
|
- 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
|
- Don't send setTypingState False when focus lost if nothing in sendbox
|
||||||
- Initial sync filter and lazy load, see weechat-matrix `_handle_login()`
|
- Initial sync filter and lazy load, see weechat-matrix `_handle_login()`
|
||||||
@ -54,7 +54,7 @@
|
|||||||
- Direct chats category
|
- Direct chats category
|
||||||
- On sync, check messages API, if a limited sync timeline was received
|
- On sync, check messages API, if a limited sync timeline was received
|
||||||
- Markdown: don't turn #things into title (space), disable __ syntax
|
- 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?
|
- Make links in room subtitle clickable, formatting?
|
||||||
- `<pre>` scrollbar on overflow
|
- `<pre>` scrollbar on overflow
|
||||||
- Handle cases where an avatar char is # or @ (#alias room, @user\_id)
|
- Handle cases where an avatar char is # or @ (#alias room, @user\_id)
|
||||||
|
@ -36,7 +36,7 @@ HRectangle {
|
|||||||
|
|
||||||
Layout.maximumWidth: Math.max(
|
Layout.maximumWidth: Math.max(
|
||||||
0,
|
0,
|
||||||
row.width - Layout.leftMargin * 2 - avatar.width -
|
row.width - row.totalSpacing - avatar.width -
|
||||||
viewButtons.width -
|
viewButtons.width -
|
||||||
(expandButton.visible ? expandButton.width : 0)
|
(expandButton.visible ? expandButton.width : 0)
|
||||||
)
|
)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user