diff options
| author | xiphon <xiphon@protonmail.com> | 2018-12-17 09:10:11 +0000 |
|---|---|---|
| committer | xiphon <xiphon@protonmail.com> | 2018-12-17 09:10:11 +0000 |
| commit | 515bb16418564ff3990b489d37c115a5f82f3e72 (patch) | |
| tree | 6ca648abb0f3ad3c91da617442fb325223f8c3ff /pages | |
| parent | 59fc48bd8be5e7227ea3d7b571e9e04829e3636d (diff) | |
| download | monzero-gui-515bb16418564ff3990b489d37c115a5f82f3e72.tar.gz monzero-gui-515bb16418564ff3990b489d37c115a5f82f3e72.tar.xz monzero-gui-515bb16418564ff3990b489d37c115a5f82f3e72.zip | |
fix various QML warnings
Diffstat (limited to 'pages')
| -rw-r--r-- | pages/Transfer.qml | 1 | ||||
| -rw-r--r-- | pages/TxKey.qml | 9 | ||||
| -rw-r--r-- | pages/settings/SettingsNode.qml | 3 | ||||
| -rw-r--r-- | pages/settings/SettingsWallet.qml | 8 |
4 files changed, 6 insertions, 15 deletions
diff --git a/pages/Transfer.qml b/pages/Transfer.qml index f766bc72..0f88b4b3 100644 --- a/pages/Transfer.qml +++ b/pages/Transfer.qml @@ -244,7 +244,6 @@ Rectangle { StandardButton { id: resolveButton - anchors.left: parent.left width: 80 text: qsTr("Resolve") + translationManager.emptyString visible: isValidOpenAliasAddress(addressLine.text) diff --git a/pages/TxKey.qml b/pages/TxKey.qml index 52d4ad74..22174f3e 100644 --- a/pages/TxKey.qml +++ b/pages/TxKey.qml @@ -55,9 +55,6 @@ Rectangle { // solo ColumnLayout { id: soloBox - anchors.left: parent.left - anchors.right: parent.right - anchors.top: parent.top spacing: 20 * scaleRatio Label { @@ -114,8 +111,7 @@ Rectangle { } StandardButton { - anchors.left: parent.left - anchors.topMargin: 17 * scaleRatio + Layout.topMargin: 17 * scaleRatio width: 60 * scaleRatio small: true text: qsTr("Generate") + translationManager.emptyString @@ -204,8 +200,7 @@ Rectangle { } StandardButton { - anchors.left: parent.left - anchors.topMargin: 17 * scaleRatio + Layout.topMargin: 17 * scaleRatio width: 60 small: true text: qsTr("Check") + translationManager.emptyString diff --git a/pages/settings/SettingsNode.qml b/pages/settings/SettingsNode.qml index 8a7b3926..69e36318 100644 --- a/pages/settings/SettingsNode.qml +++ b/pages/settings/SettingsNode.qml @@ -374,11 +374,8 @@ Rectangle{ ColumnLayout { id: localNodeLayout - anchors.margins: 0 spacing: 20 * scaleRatio Layout.topMargin: 40 - anchors.left: parent.left - anchors.right: parent.right visible: !isMobile && !persistentSettings.useRemoteNode Rectangle { diff --git a/pages/settings/SettingsWallet.qml b/pages/settings/SettingsWallet.qml index f3cf0a21..02763842 100644 --- a/pages/settings/SettingsWallet.qml +++ b/pages/settings/SettingsWallet.qml @@ -66,7 +66,7 @@ Rectangle { ColumnLayout { Layout.fillWidth: true - anchors.verticalCenter: parent.verticalCenter + Layout.alignment: Qt.AlignVCenter spacing: 0 Text { @@ -157,7 +157,7 @@ Rectangle { ColumnLayout { Layout.fillWidth: true - anchors.verticalCenter: parent.verticalCenter + Layout.alignment: Qt.AlignVCenter spacing: 0 Text { @@ -248,7 +248,7 @@ Rectangle { ColumnLayout { Layout.fillWidth: true - anchors.verticalCenter: parent.verticalCenter + Layout.alignment: Qt.AlignVCenter spacing: 0 Text { @@ -337,7 +337,7 @@ Rectangle { ColumnLayout { Layout.fillWidth: true - anchors.verticalCenter: parent.verticalCenter + Layout.alignment: Qt.AlignVCenter spacing: 0 Text { |
