From 8528907a5b61680fb2c4e0f0b53cb61d9c05ee9d Mon Sep 17 00:00:00 2001 From: Sander van Grieken Date: Fri, 17 Mar 2023 11:51:10 +0100 Subject: [PATCH] qml: trsutedcoin layout consistency --- electrum/plugins/trustedcoin/qml/Disclaimer.qml | 2 +- electrum/plugins/trustedcoin/qml/ShowConfirmOTP.qml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/electrum/plugins/trustedcoin/qml/Disclaimer.qml b/electrum/plugins/trustedcoin/qml/Disclaimer.qml index b1a1f2884..53f5b555e 100644 --- a/electrum/plugins/trustedcoin/qml/Disclaimer.qml +++ b/electrum/plugins/trustedcoin/qml/Disclaimer.qml @@ -15,7 +15,7 @@ WizardComponent { width: parent.width Label { - Layout.preferredWidth: parent.width + Layout.fillWidth: true text: plugin ? plugin.disclaimer : '' wrapMode: Text.Wrap } diff --git a/electrum/plugins/trustedcoin/qml/ShowConfirmOTP.qml b/electrum/plugins/trustedcoin/qml/ShowConfirmOTP.qml index f979acb8b..0e963978f 100644 --- a/electrum/plugins/trustedcoin/qml/ShowConfirmOTP.qml +++ b/electrum/plugins/trustedcoin/qml/ShowConfirmOTP.qml @@ -87,8 +87,8 @@ WizardComponent { } Label { + Layout.fillWidth: true visible: !otpVerified && plugin.remoteKeyState == 'wallet_known' - Layout.preferredWidth: parent.width wrapMode: Text.Wrap text: qsTr('Otherwise, you can request your OTP secret from the server, by pressing the button below') }