remove hack and don't hardcode font
This commit is contained in:
parent
3118be5c98
commit
df690b8d20
1 changed files with 2 additions and 3 deletions
|
@ -36,7 +36,7 @@ Kirigami.ApplicationWindow
|
||||||
handleVisible: !root.wideScreen
|
handleVisible: !root.wideScreen
|
||||||
|
|
||||||
header: Kirigami.AbstractApplicationHeader {
|
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
|
bottomPadding: Kirigami.Units.smallSpacing
|
||||||
leftPadding: Kirigami.Units.smallSpacing
|
leftPadding: Kirigami.Units.smallSpacing
|
||||||
rightPadding: Kirigami.Units.smallSpacing
|
rightPadding: Kirigami.Units.smallSpacing
|
||||||
|
@ -63,12 +63,11 @@ Kirigami.ApplicationWindow
|
||||||
}
|
}
|
||||||
|
|
||||||
Kirigami.Heading {
|
Kirigami.Heading {
|
||||||
level: 2
|
level: 1
|
||||||
text: announcedNameProperty.value
|
text: announcedNameProperty.value
|
||||||
Layout.fillWidth: true
|
Layout.fillWidth: true
|
||||||
visible: !nameField.visible
|
visible: !nameField.visible
|
||||||
elide: Qt.ElideRight
|
elide: Qt.ElideRight
|
||||||
font.pointSize: 18
|
|
||||||
}
|
}
|
||||||
|
|
||||||
Button {
|
Button {
|
||||||
|
|
Loading…
Reference in a new issue