Limited StatusToolTip width for maxWidth. Fixes #1817

This commit is contained in:
ace-smart 2021-02-10 20:32:45 +04:00 committed by Iuri Matias
parent f4ebb5feae
commit 0c65551b45
2 changed files with 2 additions and 1 deletions

View File

@ -76,6 +76,7 @@ Item {
StatusToolTip {
visible: mouseArea.containsMouse
maxWidth: 400
text: showReactionAuthors(modelData.fromAccounts, modelData.emojiId)
}

View File

@ -5,7 +5,7 @@ import "../../shared"
ToolTip {
id: tooltip
property int maxWidth: 400
property int maxWidth: 800
implicitWidth: Math.min(maxWidth, textContent.implicitWidth + Style.current.bigPadding)
leftPadding: Style.current.smallPadding
rightPadding: Style.current.smallPadding