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 width: parent.width
Label { Label {
Layout.preferredWidth: parent.width Layout.fillWidth: true
text: plugin ? plugin.disclaimer : '' text: plugin ? plugin.disclaimer : ''
wrapMode: Text.Wrap wrapMode: Text.Wrap
} }

2
electrum/plugins/trustedcoin/qml/ShowConfirmOTP.qml

@ -87,8 +87,8 @@ WizardComponent {
} }
Label { Label {
Layout.fillWidth: true
visible: !otpVerified && plugin.remoteKeyState == 'wallet_known' visible: !otpVerified && plugin.remoteKeyState == 'wallet_known'
Layout.preferredWidth: parent.width
wrapMode: Text.Wrap wrapMode: Text.Wrap
text: qsTr('Otherwise, you can request your OTP secret from the server, by pressing the button below') text: qsTr('Otherwise, you can request your OTP secret from the server, by pressing the button below')
} }

Loading…
Cancel
Save