mirror of
https://github.com/noctalia-dev/noctalia-shell.git
synced 2026-05-11 17:08:27 +08:00
ActiveWindow: use same font height as MediaMini
This commit is contained in:
+1
-1
@@ -91,7 +91,7 @@ Singleton {
|
||||
return barHeight
|
||||
}
|
||||
if (Settings.data.bar.density === "default") {
|
||||
return barHeight
|
||||
return barHeight * 0.9
|
||||
}
|
||||
if (Settings.data.bar.density === "comfortable") {
|
||||
return Math.round(barHeight * 0.73)
|
||||
|
||||
@@ -132,7 +132,7 @@ Item {
|
||||
id: fullTitleMetrics
|
||||
visible: false
|
||||
text: getTitle()
|
||||
font.pointSize: textSize
|
||||
font.pointSize: Style.fontSizeS * scaling
|
||||
font.weight: Style.fontWeightMedium
|
||||
}
|
||||
|
||||
@@ -203,7 +203,7 @@ Item {
|
||||
Layout.alignment: Qt.AlignVCenter
|
||||
horizontalAlignment: Text.AlignLeft
|
||||
text: getTitle()
|
||||
font.pointSize: textSize
|
||||
font.pointSize: Style.fontSizeS * scaling
|
||||
font.weight: Style.fontWeightMedium
|
||||
elide: mouseArea.containsMouse ? Text.ElideNone : Text.ElideRight
|
||||
verticalAlignment: Text.AlignVCenter
|
||||
|
||||
Reference in New Issue
Block a user