diff --git a/components/InputDialog.qml b/components/InputDialog.qml index ac56a56b..65d249e3 100644 --- a/components/InputDialog.qml +++ b/components/InputDialog.qml @@ -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 diff --git a/components/NewPasswordDialog.qml b/components/NewPasswordDialog.qml index f974965d..ad2e77ec 100644 --- a/components/NewPasswordDialog.qml +++ b/components/NewPasswordDialog.qml @@ -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 diff --git a/pages/Receive.qml b/pages/Receive.qml index 2c840ab4..6b04c45a 100644 --- a/pages/Receive.qml +++ b/pages/Receive.qml @@ -97,8 +97,8 @@ Rectangle { ListView { id: subaddressListView + Layout.fillHeight: true Layout.fillWidth: true - anchors.fill: parent clip: true boundsBehavior: ListView.StopAtBounds delegate: Rectangle { diff --git a/pages/SharedRingDB.qml b/pages/SharedRingDB.qml index b28b3ac6..2341ce32 100644 --- a/pages/SharedRingDB.qml +++ b/pages/SharedRingDB.qml @@ -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 diff --git a/pages/settings/Navbar.qml b/pages/settings/Navbar.qml index 4c1c5d2a..bf24fb0b 100644 --- a/pages/settings/Navbar.qml +++ b/pages/settings/Navbar.qml @@ -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 diff --git a/wizard/WizardManageWalletUI.qml b/wizard/WizardManageWalletUI.qml index f907a5b1..f9a41fa4 100644 --- a/wizard/WizardManageWalletUI.qml +++ b/wizard/WizardManageWalletUI.qml @@ -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): :") + translationManager.emptyString placeholderOpacity: 1.0 borderColor: Qt.rgba(0, 0, 0, 0.15)