fix: channel description width

This commit is contained in:
Richard Ramos 2021-07-01 14:58:05 -04:00 committed by Iuri Matias
parent 516d1974b2
commit e347255df4
1 changed files with 2 additions and 2 deletions

View File

@ -115,8 +115,7 @@ Item {
StyledText {
id: chatInfo
color: Style.current.secondaryText
wrapMode: Text.Wrap
width: parent.width
width: topBar.childrenRect.width - 200
elide: Text.ElideRight
text: {
if (root.chatType === Constants.chatTypeCommunity) {
@ -145,6 +144,7 @@ Item {
font.pixelSize: 12
anchors.top: chatName.bottom
anchors.topMargin: 2
anchors.left: chatName.left
}
Item {