aboutsummaryrefslogtreecommitdiff
path: root/wizard
diff options
context:
space:
mode:
authorluigi1111 <luigi1111w@gmail.com>2019-07-22 13:29:31 -0500
committerluigi1111 <luigi1111w@gmail.com>2019-07-22 13:29:31 -0500
commit25e56ee8fba6b0b87f3cb6d1986eebfee138edfa (patch)
treeca470a3f46f947e51f530c28c76135f5cf813af8 /wizard
parent40c3e38f5a8577039f339586e572bcbea4a41128 (diff)
parentf20ab12cf3bd7575e7c0043c64de3ab74c211218 (diff)
downloadmonzero-gui-25e56ee8fba6b0b87f3cb6d1986eebfee138edfa.tar.gz
monzero-gui-25e56ee8fba6b0b87f3cb6d1986eebfee138edfa.tar.xz
monzero-gui-25e56ee8fba6b0b87f3cb6d1986eebfee138edfa.zip
Merge pull request #2307
f20ab12 QML: fix various warnings (selsta)
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