Browse Source

qml: trsutedcoin layout consistency

master
Sander van Grieken 3 years ago
parent
commit
8528907a5b
  1. 2
      electrum/plugins/trustedcoin/qml/Disclaimer.qml
  2. 2
      electrum/plugins/trustedcoin/qml/ShowConfirmOTP.qml

2
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
}

2
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')
}

Loading…
Cancel
Save