Merge pull request #130 from ThatOneCalculator/nitpick/miniplayer-comment-accuracy
fix: match MediaMini & ActiveWindow max widths
This commit is contained in:
commit
d65ce1536f
2 changed files with 3 additions and 3 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
|
||||||
|
|
|
||||||
|
|
@ -144,7 +144,7 @@ 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: (mouseArea.containsMouse) ? Math.min(fullTitleMetrics.contentWidth,
|
width: (mouseArea.containsMouse) ? Math.min(fullTitleMetrics.contentWidth,
|
||||||
400 * scaling) : Math.min(fullTitleMetrics.contentWidth,
|
400 * scaling) : Math.min(fullTitleMetrics.contentWidth,
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue