Merge pull request #2307

f20ab12 QML: fix various warnings (selsta)
This commit is contained in:
luigi1111
2019-07-22 13:29:31 -05:00
9 changed files with 14 additions and 35 deletions

View File

@@ -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: "*"
}

View File

@@ -69,7 +69,7 @@ ColumnLayout {
TextArea {
Layout.fillWidth: true
anchors.horizontalCenter: parent.horizontalCenter
Layout.alignment: Qt.AlignCenter
visible: parent.subtitle !== ""
color: MoneroComponents.Style.dimmedFontColor

View File

@@ -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