qml: fix layout issues in ShowConfirmOTP. fixes #8249
This commit is contained in:
@@ -25,11 +25,13 @@ WizardComponent {
|
|||||||
|
|
||||||
InfoTextArea {
|
InfoTextArea {
|
||||||
id: errorBox
|
id: errorBox
|
||||||
|
Layout.fillWidth: true
|
||||||
iconStyle: InfoTextArea.IconStyle.Error
|
iconStyle: InfoTextArea.IconStyle.Error
|
||||||
visible: !otpVerified && plugin.remoteKeyState == 'error'
|
visible: !otpVerified && plugin.remoteKeyState == 'error'
|
||||||
}
|
}
|
||||||
|
|
||||||
InfoTextArea {
|
InfoTextArea {
|
||||||
|
Layout.fillWidth: true
|
||||||
iconStyle: InfoTextArea.IconStyle.Warn
|
iconStyle: InfoTextArea.IconStyle.Warn
|
||||||
visible: plugin.remoteKeyState == 'wallet_known'
|
visible: plugin.remoteKeyState == 'wallet_known'
|
||||||
text: qsTr('This wallet is already registered with TrustedCoin. ')
|
text: qsTr('This wallet is already registered with TrustedCoin. ')
|
||||||
@@ -55,15 +57,15 @@ WizardComponent {
|
|||||||
}
|
}
|
||||||
|
|
||||||
Label {
|
Label {
|
||||||
|
Layout.fillWidth: true
|
||||||
visible: !otpVerified && plugin.otpSecret
|
visible: !otpVerified && plugin.otpSecret
|
||||||
Layout.preferredWidth: parent.width
|
|
||||||
wrapMode: Text.Wrap
|
wrapMode: Text.Wrap
|
||||||
text: qsTr('Enter or scan into authenticator app. Then authenticate below')
|
text: qsTr('Enter or scan into authenticator app. Then authenticate below')
|
||||||
}
|
}
|
||||||
|
|
||||||
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('If you still have your OTP secret, then authenticate below')
|
text: qsTr('If you still have your OTP secret, then authenticate below')
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user