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
2 changed files with 3 additions and 3 deletions
+2 -2
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
+1 -1
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,