Commit 9b56c6c5 authored by Marco Martin's avatar Marco Martin
Browse files

more consistency between toolbar and breadcrumb titles

parent e00d6f71
......@@ -74,7 +74,7 @@ Flickable {
Kirigami.Heading {
Layout.leftMargin: Kirigami.Units.largeSpacing
font.pointSize: -1
font.pixelSize: Math.max(1, mainLayout.height * 0.7)
font.pixelSize: Math.max(1, mainLayout.height * 0.6)
color: Kirigami.Theme.textColor
verticalAlignment: Text.AlignVCenter
wrapMode: Text.NoWrap
......
......@@ -46,6 +46,6 @@ QtObject {
property int minimumHeight: 0
property int preferredHeight: (actualStyle == Kirigami.ApplicationHeaderStyle.ToolBar
? Kirigami.Units.iconSizes.medium
: Kirigami.Units.gridUnit * 2) + Kirigami.Units.smallSpacing * 2
: Kirigami.Units.gridUnit * 1.8) + Kirigami.Units.smallSpacing * 2
property int maximumHeight: preferredHeight
}
......@@ -33,10 +33,11 @@ AbstractPageHeader {
leftPadding: Units.largeSpacing
opacity: root.current ? 1 : 0.4
maximumLineCount: 1
verticalAlignment: Text.AlignVCenter
color: Theme.textColor
elide: Text.ElideRight
font.pointSize: -1
font.pixelSize: Math.max(1, height*0.7)
font.pixelSize: Math.max(1, height*0.6)
text: page ? page.title : ""
MouseArea {
anchors.fill: parent
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment