ActiveWindow: use same font height as MediaMini
This commit is contained in:
parent
d8db086127
commit
03698e7bb9
2 changed files with 3 additions and 3 deletions
|
|
@ -91,7 +91,7 @@ Singleton {
|
||||||
return barHeight
|
return barHeight
|
||||||
}
|
}
|
||||||
if (Settings.data.bar.density === "default") {
|
if (Settings.data.bar.density === "default") {
|
||||||
return barHeight
|
return barHeight * 0.9
|
||||||
}
|
}
|
||||||
if (Settings.data.bar.density === "comfortable") {
|
if (Settings.data.bar.density === "comfortable") {
|
||||||
return Math.round(barHeight * 0.73)
|
return Math.round(barHeight * 0.73)
|
||||||
|
|
|
||||||
|
|
@ -132,7 +132,7 @@ Item {
|
||||||
id: fullTitleMetrics
|
id: fullTitleMetrics
|
||||||
visible: false
|
visible: false
|
||||||
text: getTitle()
|
text: getTitle()
|
||||||
font.pointSize: textSize
|
font.pointSize: Style.fontSizeS * scaling
|
||||||
font.weight: Style.fontWeightMedium
|
font.weight: Style.fontWeightMedium
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
@ -203,7 +203,7 @@ Item {
|
||||||
Layout.alignment: Qt.AlignVCenter
|
Layout.alignment: Qt.AlignVCenter
|
||||||
horizontalAlignment: Text.AlignLeft
|
horizontalAlignment: Text.AlignLeft
|
||||||
text: getTitle()
|
text: getTitle()
|
||||||
font.pointSize: textSize
|
font.pointSize: Style.fontSizeS * scaling
|
||||||
font.weight: Style.fontWeightMedium
|
font.weight: Style.fontWeightMedium
|
||||||
elide: mouseArea.containsMouse ? Text.ElideNone : Text.ElideRight
|
elide: mouseArea.containsMouse ? Text.ElideNone : Text.ElideRight
|
||||||
verticalAlignment: Text.AlignVCenter
|
verticalAlignment: Text.AlignVCenter
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue