fix: Update the Beta dialog design to better fit the content
- no logo - tighter content, smaller vertical spacing Fixes #12400
This commit is contained in:
parent
d6648c4a5d
commit
629d8b62b1
|
@ -14,13 +14,13 @@ import utils 1.0
|
|||
StatusModal {
|
||||
id: root
|
||||
width: 640
|
||||
headerSettings.title: qsTr("Welcome to Status Desktop Beta")
|
||||
title: qsTr("Welcome to Status Desktop Beta")
|
||||
hasCloseButton: false
|
||||
verticalPadding: 20
|
||||
|
||||
closePolicy: Popup.NoAutoClose
|
||||
|
||||
component Paragraph: StatusBaseText {
|
||||
font.pixelSize: 15
|
||||
lineHeightMode: Text.FixedHeight
|
||||
lineHeight: 22
|
||||
visible: !!text
|
||||
|
@ -30,7 +30,7 @@ StatusModal {
|
|||
component AgreementSection: ColumnLayout {
|
||||
property alias title: titleItem.text
|
||||
property alias body: bodyItem.text
|
||||
spacing: 12
|
||||
spacing: 8
|
||||
Paragraph {
|
||||
id: titleItem
|
||||
Layout.fillWidth: true
|
||||
|
@ -53,63 +53,39 @@ StatusModal {
|
|||
ColumnLayout {
|
||||
id: layout
|
||||
width: scrollView.availableWidth
|
||||
spacing: 22
|
||||
StatusRoundedImage {
|
||||
id: statusRoundedImage
|
||||
objectName: "headerImage"
|
||||
Layout.preferredWidth: 64
|
||||
Layout.preferredHeight: 64
|
||||
Layout.alignment: Qt.AlignHCenter
|
||||
image.source: Style.png("status-logo")
|
||||
image.mipmap: true
|
||||
}
|
||||
spacing: 20
|
||||
|
||||
AgreementSection {
|
||||
title: qsTr("Warning - Status desktop is currently in Beta")
|
||||
body: qsTr("• The Wallet is not yet safe or secure to use
|
||||
• Do not use real funds in the Wallet
|
||||
• Do not use accounts that contain tokens of value in the Wallet")
|
||||
body: qsTr(" • The Wallet is not yet safe or secure to use
|
||||
• Do not use real funds in the Wallet
|
||||
• Do not use accounts that contain tokens of value in the Wallet")
|
||||
}
|
||||
|
||||
AgreementSection {
|
||||
title: qsTr("Also be aware")
|
||||
body: qsTr("• Status Desktop is incompatible with Status Mobile versions 1.x
|
||||
• This version of Status may break or stop working without warning
|
||||
• Communities created with this version may be broken by future releases
|
||||
• Status desktop currently consumes large amounts of bandwidth")
|
||||
body: qsTr(" • Status Desktop is incompatible with Status Mobile versions 1.x
|
||||
• This version of Status may break or stop working without warning
|
||||
• Communities created with this version may be broken by future releases
|
||||
• Status desktop currently consumes large amounts of bandwidth")
|
||||
}
|
||||
|
||||
AgreementSection {
|
||||
body: qsTr("We are working to fix all these issues ASAP, ahead of Status Desktop’s 1.0 release!")
|
||||
}
|
||||
|
||||
StatusDialogDivider {
|
||||
Layout.fillWidth: true
|
||||
}
|
||||
|
||||
AgreementSection {
|
||||
body: qsTr("I confirm that...")
|
||||
}
|
||||
|
||||
StatusCheckBox {
|
||||
id: agreeToUse
|
||||
Layout.fillWidth: true
|
||||
Layout.topMargin: -10 //reduced margin by design
|
||||
contentItem: Paragraph {
|
||||
text: qsTr("I’ve read the above and understand that Status Desktop is Beta software")
|
||||
leftPadding: readyToUse.indicator.width + readyToUse.spacing
|
||||
}
|
||||
Layout.topMargin: -8 //reduced margin by design
|
||||
text: qsTr("I’ve read the above and understand that Status Desktop is Beta software")
|
||||
}
|
||||
|
||||
StatusCheckBox {
|
||||
id: readyToUse
|
||||
Layout.fillWidth: true
|
||||
Layout.topMargin: -10 //reduced margin by design
|
||||
Layout.bottomMargin: layout.spacing
|
||||
contentItem: Paragraph {
|
||||
text: qsTr("I’m ready to use Status Desktop Beta")
|
||||
leftPadding: readyToUse.indicator.width + readyToUse.spacing
|
||||
}
|
||||
Layout.topMargin: -16 //reduced margin by design
|
||||
text: qsTr("I’m ready to use Status Desktop Beta")
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue