Merge pull request #130 from ThatOneCalculator/nitpick/miniplayer-comment-accuracy

fix: match MediaMini & ActiveWindow max widths
This commit is contained in:
Lemmy 2025-08-22 16:46:05 -04:00 committed by GitHub
commit d65ce1536f
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 3 additions and 3 deletions

View file

@ -100,10 +100,10 @@ Row {
NText {
id: titleText
// If hovered or just switched window, show up to 300 pixels
// If hovered or just switched window, show up to 400 pixels
// If not hovered show up to 150 pixels
width: (showingFullTitle || mouseArea.containsMouse) ? Math.min(fullTitleMetrics.contentWidth,
300 * scaling) : Math.min(
400 * scaling) : Math.min(
fullTitleMetrics.contentWidth, 150 * scaling)
text: getTitle()
font.pointSize: Style.fontSizeS * scaling

View file

@ -144,7 +144,7 @@ Row {
NText {
id: titleText
// If hovered or just switched window, show up to 300 pixels
// If hovered or just switched window, show up to 400 pixels
// If not hovered show up to 150 pixels
width: (mouseArea.containsMouse) ? Math.min(fullTitleMetrics.contentWidth,
400 * scaling) : Math.min(fullTitleMetrics.contentWidth,