aboutsummaryrefslogtreecommitdiff
path: root/wizard
diff options
context:
space:
mode:
Diffstat (limited to 'wizard')
-rw-r--r--wizard/WizardAskPassword.qml15
-rw-r--r--wizard/WizardHeader.qml2
-rw-r--r--wizard/WizardLanguage.qml8
3 files changed, 7 insertions, 18 deletions
diff --git a/wizard/WizardAskPassword.qml b/wizard/WizardAskPassword.qml
index e87d4472..fcb5ccb1 100644
--- a/wizard/WizardAskPassword.qml
+++ b/wizard/WizardAskPassword.qml
@@ -97,23 +97,12 @@ ColumnLayout {
TextInput {
id: progressText
- anchors.top: parent.top
- anchors.topMargin: 6
+ Layout.topMargin: 6
+ Layout.bottomMargin: 6
font.family: MoneroComponents.Style.fontMedium.name
font.pixelSize: 14
font.bold: false
color: MoneroComponents.Style.defaultFontColor
- text: root.passwordStrengthText + '-'
- height: 18
- passwordCharacter: "*"
- }
-
- TextInput {
- id: progressTextValue
- font.family: MoneroComponents.Style.fontMedium.name
- font.pixelSize: 13
- font.bold: true
- color: MoneroComponents.Style.defaultFontColor
height: 18
passwordCharacter: "*"
}
diff --git a/wizard/WizardHeader.qml b/wizard/WizardHeader.qml
index 43ecbc7e..71061a5b 100644
--- a/wizard/WizardHeader.qml
+++ b/wizard/WizardHeader.qml
@@ -69,7 +69,7 @@ ColumnLayout {
TextArea {
Layout.fillWidth: true
- anchors.horizontalCenter: parent.horizontalCenter
+ Layout.alignment: Qt.AlignCenter
visible: parent.subtitle !== ""
color: MoneroComponents.Style.dimmedFontColor
diff --git a/wizard/WizardLanguage.qml b/wizard/WizardLanguage.qml
index d839e196..d19f2bae 100644
--- a/wizard/WizardLanguage.qml
+++ b/wizard/WizardLanguage.qml
@@ -60,7 +60,7 @@ Rectangle {
id: textWelcome
opacity: 0
Layout.preferredWidth: parent.width / 1.3
- anchors.horizontalCenter: parent.horizontalCenter
+ Layout.alignment: Qt.AlignCenter
color: MoneroComponents.Style.defaultFontColor
text: "Welcome - Wilkommen - Bonvenon - Bienvenido - Bienvenue - Välkommen - Selamat datang - Benvenuto - 歡迎 - Welkom - Bem Vindo - добро пожаловать"
@@ -97,7 +97,7 @@ Rectangle {
}
Layout.preferredWidth: size
Layout.preferredHeight: size
- anchors.horizontalCenter: parent.horizontalCenter
+ Layout.alignment: Qt.AlignCenter
mipmap: true
property bool animSlow: false
@@ -149,7 +149,7 @@ Rectangle {
id: buttonsGrid
opacity: 0
columns: isMobile ? 1 : 2
- anchors.horizontalCenter: parent.horizontalCenter
+ Layout.alignment: Qt.AlignCenter
Layout.topMargin: 20
Layout.fillWidth: true
columnSpacing: 20
@@ -190,7 +190,7 @@ Rectangle {
MoneroComponents.TextPlain {
id: versionText
opacity: 0
- anchors.horizontalCenter: parent.horizontalCenter
+ Layout.alignment: Qt.AlignCenter
font.bold: true
font.pixelSize: 12
font.family: MoneroComponents.Style.fontRegular.name