fix(AllowNotificationsView): The page 'Allow notifications' differs from the Design

Closes: #6514
This commit is contained in:
Lukáš Tinkl 2022-07-26 16:16:23 +02:00 committed by Lukáš Tinkl
parent 97cc9b6e01
commit 375f11cae2
1 changed files with 5 additions and 0 deletions

View File

@ -39,6 +39,7 @@ Item {
anchors.verticalCenter: parent.verticalCenter anchors.verticalCenter: parent.verticalCenter
font.letterSpacing: d.titleLetterSpacing font.letterSpacing: d.titleLetterSpacing
font.pixelSize: d.titlePixelSize font.pixelSize: d.titlePixelSize
lineHeight: 1.2
} }
StyledText { StyledText {
@ -50,6 +51,7 @@ Item {
anchors.top: txtTitle.bottom anchors.top: txtTitle.bottom
anchors.topMargin: Style.current.padding anchors.topMargin: Style.current.padding
font.pixelSize: Style.current.primaryTextFontSize font.pixelSize: Style.current.primaryTextFontSize
lineHeight: 1.2
} }
StatusButton { StatusButton {
@ -57,6 +59,9 @@ Item {
anchors.top: txtDesc.bottom anchors.top: txtDesc.bottom
anchors.topMargin: d.okButtonTopMargin anchors.topMargin: d.okButtonTopMargin
anchors.horizontalCenter: parent.horizontalCenter anchors.horizontalCenter: parent.horizontalCenter
leftPadding: Style.current.padding
rightPadding: Style.current.padding
font.weight: Font.Medium
text: qsTr("Ok, got it") text: qsTr("Ok, got it")
onClicked: { onClicked: {
root.startupStore.doPrimaryAction() root.startupStore.doPrimaryAction()