match miniplayer & activewindow max widths

This commit is contained in:
Kainoa Kanter 2025-08-22 09:26:10 -07:00
parent 5d5e1f52dd
commit 22ed13bd56
No known key found for this signature in database
GPG key ID: 8703CACD01000000

View file

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