Merge pull request #1884

310679c QML: fix various warnings (xiphon)
pull/2/head
luigi1111 5 years ago
commit 8a4596ee47
No known key found for this signature in database
GPG Key ID: F4ACA0183641E010

@ -79,7 +79,6 @@ Item {
Label {
id: label
anchors.left: parent.left
Layout.fillWidth: true
font.pixelSize: 16 * scaleRatio
@ -93,7 +92,6 @@ Item {
focus: true
Layout.topMargin: 6
Layout.fillWidth: true
anchors.left: parent.left
horizontalAlignment: TextInput.AlignLeft
verticalAlignment: TextInput.AlignVCenter
font.family: MoneroComponents.Style.fontLight.name

@ -96,7 +96,6 @@ Item {
Label {
text: qsTr("Please enter new password")
anchors.left: parent.left
Layout.fillWidth: true
font.pixelSize: 16 * scaleRatio
@ -109,7 +108,6 @@ Item {
id : passwordInput1
Layout.topMargin: 6
Layout.fillWidth: true
anchors.left: parent.left
horizontalAlignment: TextInput.AlignLeft
verticalAlignment: TextInput.AlignVCenter
font.family: MoneroComponents.Style.fontLight.name
@ -154,7 +152,6 @@ Item {
Label {
text: qsTr("Please confirm new password")
anchors.left: parent.left
Layout.fillWidth: true
font.pixelSize: 16 * scaleRatio
@ -167,7 +164,6 @@ Item {
id : passwordInput2
Layout.topMargin: 6
Layout.fillWidth: true
anchors.left: parent.left
horizontalAlignment: TextInput.AlignLeft
verticalAlignment: TextInput.AlignVCenter
font.family: MoneroComponents.Style.fontLight.name

@ -97,8 +97,8 @@ Rectangle {
ListView {
id: subaddressListView
Layout.fillHeight: true
Layout.fillWidth: true
anchors.fill: parent
clip: true
boundsBehavior: ListView.StopAtBounds
delegate: Rectangle {

@ -194,7 +194,6 @@ Rectangle {
StandardButton {
id: loadBlackballFileButton
anchors.right: parent.right
text: qsTr("Load") + translationManager.emptyString
small: true
enabled: !!appWindow.currentWallet && loadBlackballFileLine.text !== ""
@ -243,7 +242,6 @@ Rectangle {
StandardButton {
id: unblackballButton
anchors.right: parent.right
text: qsTr("Mark as unspent") + translationManager.emptyString
small: true
enabled: !!appWindow.currentWallet && validUnsigned(blackballOutputAmountLine.text) && validUnsigned(blackballOutputOffsetLine.text)
@ -415,9 +413,8 @@ Rectangle {
RowLayout {
id: segregationHeightRow
anchors.topMargin: 17
anchors.left: parent.left
anchors.right: parent.right
Layout.topMargin: 17 * scaleRatio
Layout.fillWidth: true
LineEdit {
id: segregationHeightLine

@ -51,7 +51,7 @@ Rectangle {
GridLayout {
id: grid
anchors.horizontalCenter: parent.horizontalCenter
Layout.alignment: Qt.AlignHCenter
columnSpacing: 0
property string fontColor: "white"
property int fontSize: 13 * scaleRatio

@ -250,7 +250,7 @@ ColumnLayout {
Layout.minimumWidth: 200 * scaleRatio
placeholderFontBold: true
placeholderFontFamily: "Arial"
placeholderColor: Style.legacy_placeholderFontColor
placeholderColor: MoneroComponents.Style.legacy_placeholderFontColor
placeholderText: qsTr("Account address (public)") + translationManager.emptyString
placeholderOpacity: 1.0
onTextUpdated: checkNextButton()
@ -266,7 +266,7 @@ ColumnLayout {
Layout.minimumWidth: 200 * scaleRatio
placeholderFontBold: true
placeholderFontFamily: "Arial"
placeholderColor: Style.legacy_placeholderFontColor
placeholderColor: MoneroComponents.Style.legacy_placeholderFontColor
placeholderText: qsTr("View key (private)") + translationManager.emptyString
placeholderOpacity: 1.0
onTextUpdated: checkNextButton()
@ -283,7 +283,7 @@ ColumnLayout {
id: spendKeyLine
placeholderFontBold: true
placeholderFontFamily: "Arial"
placeholderColor: Style.legacy_placeholderFontColor
placeholderColor: MoneroComponents.Style.legacy_placeholderFontColor
placeholderText: qsTr("Spend key (private)") + translationManager.emptyString
placeholderOpacity: 1.0
onTextUpdated: checkNextButton()
@ -303,7 +303,7 @@ ColumnLayout {
Layout.minimumWidth: 200 * scaleRatio
placeholderFontBold: true
placeholderFontFamily: "Arial"
placeholderColor: Style.legacy_placeholderFontColor
placeholderColor: MoneroComponents.Style.legacy_placeholderFontColor
placeholderText: qsTr("Restore height (optional)") + translationManager.emptyString
placeholderOpacity: 1.0
validator: IntValidator {
@ -326,7 +326,7 @@ ColumnLayout {
Layout.minimumWidth: 200 * scaleRatio
placeholderFontBold: true
placeholderFontFamily: "Arial"
placeholderColor: Style.legacy_placeholderFontColor
placeholderColor: MoneroComponents.Style.legacy_placeholderFontColor
placeholderText: qsTr("Subaddress lookahead (optional): <major>:<minor>") + translationManager.emptyString
placeholderOpacity: 1.0
borderColor: Qt.rgba(0, 0, 0, 0.15)