Skip to content

Commit d02414f

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 b9e7712 commit d02414f

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
@@ -128,8 +128,7 @@ MenuItem {
128128
}
129129
Label {
130130
id: accountServer
131-
width: Style.currentAccountLabelWidth
132-
height: Style.topLinePixelSize
131+
width: parent.width
133132
text: server
134133
elide: Text.ElideRight
135134
color: Style.ncTextColor

0 commit comments

Comments
 (0)