Skip to content
Snippets Groups Projects
Unverified Commit 9836443d authored by tastytea's avatar tastytea
Browse files

Add maximum width to room name in user profile

Layout is: spacing | text | spacing | button | spacing
Therefore we subtract 3x spacing and 1x button(16) from width.
parent 721c315b
No related branches found
No related tags found
No related merge requests found
Pipeline #2597 passed
......@@ -187,6 +187,8 @@ ApplicationWindow {
text: qsTr("Room: %1").arg(profile.room ? profile.room.roomName : "")
ToolTip.text: qsTr("This is a room-specific profile. The user's name and avatar may be different from their global versions.")
ToolTip.visible: ma.hovered
Layout.maximumWidth: parent.parent.width - (parent.spacing * 3) - 16
horizontalAlignment: TextEdit.AlignHCenter
HoverHandler {
id: ma
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment