QML: fix various warnings

This commit is contained in:
xiphon
2019-01-07 15:59:14 +00:00
parent 36eb1f80e1
commit 310679c680
6 changed files with 9 additions and 18 deletions

View File

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

View File

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

View File

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