From 515bb16418564ff3990b489d37c115a5f82f3e72 Mon Sep 17 00:00:00 2001 From: xiphon Date: Mon, 17 Dec 2018 09:10:11 +0000 Subject: fix various QML warnings --- components/CheckBox2.qml | 1 - components/LineEditMulti.qml | 1 - components/NetworkStatusItem.qml | 3 --- components/PasswordDialog.qml | 3 --- 4 files changed, 8 deletions(-) (limited to 'components') diff --git a/components/CheckBox2.qml b/components/CheckBox2.qml index cb367079..39494001 100644 --- a/components/CheckBox2.qml +++ b/components/CheckBox2.qml @@ -57,7 +57,6 @@ RowLayout { height: label.height width: (label.width + indicatorRect.width + checkBox.textMargin) color: "transparent" - anchors.left: parent.left Text { id: label diff --git a/components/LineEditMulti.qml b/components/LineEditMulti.qml index 63b2dee2..191498f5 100644 --- a/components/LineEditMulti.qml +++ b/components/LineEditMulti.qml @@ -149,7 +149,6 @@ ColumnLayout { id: input readOnly: false addressValidation: false - anchors.top: item.showingHeader ? inputLabelRect.bottom : item.top Layout.fillWidth: true topPadding: item.showingHeader ? 10 * scaleRatio : 0 bottomPadding: 10 * scaleRatio diff --git a/components/NetworkStatusItem.qml b/components/NetworkStatusItem.qml index e9b1b3ae..edc22595 100644 --- a/components/NetworkStatusItem.qml +++ b/components/NetworkStatusItem.qml @@ -57,7 +57,6 @@ Rectangle { Item { id: iconItem - anchors.top: parent.top width: 40 * scaleRatio height: 40 * scaleRatio opacity: { @@ -84,8 +83,6 @@ Rectangle { } Item { - anchors.top: parent.top - anchors.left: iconItem.right height: 40 * scaleRatio width: 260 * scaleRatio diff --git a/components/PasswordDialog.qml b/components/PasswordDialog.qml index d0f442e4..a6d2b53a 100644 --- a/components/PasswordDialog.qml +++ b/components/PasswordDialog.qml @@ -91,7 +91,6 @@ Item { Label { text: root.walletName.length > 0 ? qsTr("Please enter wallet password for: ") + root.walletName : qsTr("Please enter wallet password") - anchors.left: parent.left Layout.fillWidth: true font.pixelSize: 16 * scaleRatio @@ -104,7 +103,6 @@ Item { text: root.errorText visible: root.errorText - anchors.left: parent.left color: MoneroComponents.Style.errorColor font.pixelSize: 16 * scaleRatio font.family: MoneroComponents.Style.fontLight.name @@ -116,7 +114,6 @@ Item { id : passwordInput Layout.topMargin: 6 Layout.fillWidth: true - anchors.left: parent.left horizontalAlignment: TextInput.AlignLeft verticalAlignment: TextInput.AlignVCenter font.family: MoneroComponents.Style.fontLight.name -- cgit v1.2.3