fix(Onboarding): align the 'Before you get started' popup with design

- s/popup/root
- remove hardcoded height
This commit is contained in:
Lukáš Tinkl 2022-07-14 18:39:16 +02:00 committed by Lukáš Tinkl
parent e50223e507
commit 8e0c8a5c5e
1 changed files with 2 additions and 3 deletions

View File

@ -11,10 +11,9 @@ import StatusQ.Controls 0.1
import StatusQ.Popups.Dialog 0.1 import StatusQ.Popups.Dialog 0.1
StatusDialog { StatusDialog {
id: popup id: root
width: 480 width: 480
height: 318
anchors.centerIn: parent anchors.centerIn: parent
closePolicy: Popup.NoAutoClose closePolicy: Popup.NoAutoClose
@ -31,7 +30,7 @@ StatusDialog {
size: StatusBaseButton.Size.Large size: StatusBaseButton.Size.Large
font.weight: Font.Medium font.weight: Font.Medium
text: qsTr("Get Started") text: qsTr("Get Started")
onClicked: popup.close() onClicked: root.close()
} }
} }
} }