diff --git a/src/controls/ToolBarApplicationHeader.qml b/src/controls/ToolBarApplicationHeader.qml --- a/src/controls/ToolBarApplicationHeader.qml +++ b/src/controls/ToolBarApplicationHeader.qml @@ -108,7 +108,7 @@ color: Theme.textColor elide: Text.ElideRight text: page ? page.title : "" - font.pixelSize: parent.height / 1.6 + font.pointSize: Math.max(1, (parent.height / 1.6) / Units.devicePixelRatio) } Controls.ToolButton { id: moreButton diff --git a/src/controls/templates/ApplicationHeader.qml b/src/controls/templates/ApplicationHeader.qml --- a/src/controls/templates/ApplicationHeader.qml +++ b/src/controls/templates/ApplicationHeader.qml @@ -92,7 +92,7 @@ color: header.background && header.background.color && header.background.color == Theme.highlightColor ? Theme.highlightedTextColor : Theme.textColor elide: Text.ElideRight text: page ? page.title : "" - font.pixelSize: titleList.height / 1.6 + font.pointSize: Math.max(1, titleList.height / (1.6 * Units.devicePixelRatio)) verticalAlignment: Text.AlignVCenter Rectangle { anchors {