more homogeneous look with Kirigami headings

tries harder to make the text weight light
This commit is contained in:
Marco Martin 2018-11-13 13:14:24 +01:00
parent 6126954816
commit b34b92346f

View File

@ -62,7 +62,8 @@ Label {
lineHeight: 1.2
font.pointSize: headerPointSize(level)
font.weight: Font.Light
font.weight: level <= 4 ? Font.Light : Font.Normal
font.styleName: level <= 4 ? "Light" : "Regular"
wrapMode: Text.WordWrap
function headerPointSize(l) {