Commit 5d9dad3d authored by Carl Schwan's avatar Carl Schwan 🚴

Remove hack introduced by previous commit

Instead of hardcoding font size, use default font size, this makes the
height of the Heading normal and don't overflow.
parent 21f0227e
Pipeline #34816 canceled with stage
......@@ -36,7 +36,7 @@ Kirigami.ApplicationWindow
handleVisible: !root.wideScreen
header: Kirigami.AbstractApplicationHeader {
topPadding: Kirigami.Units.smallSpacing / 2 // HACK: not dividing by two makes the header to big and not adding the spacing make it to small
topPadding: Kirigami.Units.smallSpacing
bottomPadding: Kirigami.Units.smallSpacing
leftPadding: Kirigami.Units.smallSpacing
rightPadding: Kirigami.Units.smallSpacing
......@@ -63,12 +63,11 @@ Kirigami.ApplicationWindow
Kirigami.Heading {
level: 2
level: 1
text: announcedNameProperty.value
Layout.fillWidth: true
visible: !nameField.visible
elide: Qt.ElideRight
font.pointSize: 18
Button {
Markdown is supported
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