From df690b8d2036792794f1b52b5b3dbadc53f3c23d Mon Sep 17 00:00:00 2001 From: Carl Schwan Date: Sat, 19 Sep 2020 14:58:29 +0200 Subject: [PATCH] remove hack and don't hardcode font --- app/qml/main.qml | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/app/qml/main.qml b/app/qml/main.qml index 56c965a7e..e5696591b 100644 --- a/app/qml/main.qml +++ b/app/qml/main.qml @@ -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 {