match miniplayer & activewindow max widths
This commit is contained in:
parent
5d5e1f52dd
commit
22ed13bd56
1 changed files with 2 additions and 2 deletions
|
|
@ -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
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue