diff options
| author | selsta <selsta@sent.at> | 2019-07-21 21:51:47 +0200 |
|---|---|---|
| committer | selsta <selsta@sent.at> | 2019-07-21 23:23:03 +0200 |
| commit | f20ab12cf3bd7575e7c0043c64de3ab74c211218 (patch) | |
| tree | 6aab133a29ccc8071382379565eb10bff35cd55c /wizard | |
| parent | 705439c78b9e33637505aaf8c3f6b433cc5854ce (diff) | |
| download | monzero-gui-f20ab12cf3bd7575e7c0043c64de3ab74c211218.tar.gz monzero-gui-f20ab12cf3bd7575e7c0043c64de3ab74c211218.tar.xz monzero-gui-f20ab12cf3bd7575e7c0043c64de3ab74c211218.zip | |
QML: fix various warnings
Diffstat (limited to 'wizard')
| -rw-r--r-- | wizard/WizardAskPassword.qml | 15 | ||||
| -rw-r--r-- | wizard/WizardHeader.qml | 2 | ||||
| -rw-r--r-- | wizard/WizardLanguage.qml | 8 |
3 files changed, 7 insertions, 18 deletions
diff --git a/wizard/WizardAskPassword.qml b/wizard/WizardAskPassword.qml index ce7fee49..49331c44 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 |
