Skip to content

Commit 434c229

Browse files
committed
prevent server name label in user line to overflow its size
the server name label can easily be too big within the user line component (user avatar, name, status, server name, ...) fix that by allowing just the proper sizing constraints Signed-off-by: Matthieu Gallien <[email protected]>
1 parent e5c46e2 commit 434c229

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/gui/tray/UserLine.qml

+1-2
Original file line numberDiff line numberDiff line change
@@ -127,8 +127,7 @@ MenuItem {
127127
}
128128
Label {
129129
id: accountServer
130-
width: Style.currentAccountLabelWidth
131-
height: Style.topLinePixelSize
130+
width: parent.width
132131
text: server
133132
elide: Text.ElideRight
134133
color: Style.ncTextColor

0 commit comments

Comments
 (0)