fix: fix all remaining QML warnings
This commit is contained in:
parent
3b9ada93d0
commit
9654f937f2
|
@ -41,7 +41,6 @@ Popup {
|
||||||
}
|
}
|
||||||
|
|
||||||
contentItem: ColumnLayout {
|
contentItem: ColumnLayout {
|
||||||
parent: popup
|
|
||||||
anchors.fill: parent
|
anchors.fill: parent
|
||||||
spacing: 0
|
spacing: 0
|
||||||
|
|
||||||
|
|
|
@ -18,7 +18,7 @@ Item {
|
||||||
id: assetInfoImage
|
id: assetInfoImage
|
||||||
width: 36
|
width: 36
|
||||||
height: 36
|
height: 36
|
||||||
source: "../../img/tokens/" + symbol + ".png"
|
source: symbol ? "../../img/tokens/" + symbol + ".png" : ""
|
||||||
anchors.left: parent.left
|
anchors.left: parent.left
|
||||||
anchors.leftMargin: 0
|
anchors.leftMargin: 0
|
||||||
anchors.verticalCenter: parent.verticalCenter
|
anchors.verticalCenter: parent.verticalCenter
|
||||||
|
|
|
@ -119,7 +119,7 @@ Item {
|
||||||
id: assetTypeSelect
|
id: assetTypeSelect
|
||||||
iconHeight: 24
|
iconHeight: 24
|
||||||
iconWidth: 24
|
iconWidth: 24
|
||||||
icon: "../../../img/tokens/" + selectedAssetSymbol.toUpperCase() + ".png"
|
icon: selectedAssetSymbol ? "../../../img/tokens/" + selectedAssetSymbol.toUpperCase() + ".png" : ""
|
||||||
//% "Select the asset"
|
//% "Select the asset"
|
||||||
label: qsTrId("select-the-asset")
|
label: qsTrId("select-the-asset")
|
||||||
anchors.top: txtAmount.bottom
|
anchors.top: txtAmount.bottom
|
||||||
|
|
|
@ -62,7 +62,7 @@ Item {
|
||||||
}
|
}
|
||||||
StyledText {
|
StyledText {
|
||||||
id: assetFullTokenName
|
id: assetFullTokenName
|
||||||
text: name
|
text: name || ""
|
||||||
anchors.bottom: assetInfoImage.bottom
|
anchors.bottom: assetInfoImage.bottom
|
||||||
anchors.bottomMargin: 0
|
anchors.bottomMargin: 0
|
||||||
anchors.left: assetInfoImage.right
|
anchors.left: assetInfoImage.right
|
||||||
|
|
|
@ -326,6 +326,7 @@ DISTFILES += \
|
||||||
shared/StyledTextArea.qml \
|
shared/StyledTextArea.qml \
|
||||||
shared/StyledTextEdit.qml \
|
shared/StyledTextEdit.qml \
|
||||||
shared/StyledTextField.qml \
|
shared/StyledTextField.qml \
|
||||||
|
shared/SVGImage.qml \
|
||||||
shared/TextWithLabel.qml \
|
shared/TextWithLabel.qml \
|
||||||
shared/img/check.svg \
|
shared/img/check.svg \
|
||||||
shared/img/close.svg \
|
shared/img/close.svg \
|
||||||
|
|
Loading…
Reference in New Issue