fix(Wallet): prevent signing phrase from leaking out of modal

This commit is contained in:
Pascal Precht 2021-03-25 10:34:05 +01:00 committed by Iuri Matias
parent d7f2474597
commit 907c257eaf
1 changed files with 4 additions and 2 deletions

View File

@ -15,6 +15,8 @@ ModalPopup {
Column { Column {
anchors.horizontalCenter: parent.horizontalCenter anchors.horizontalCenter: parent.horizontalCenter
anchors.left: parent.left
anchors.right: parent.right
StyledText { StyledText {
anchors.horizontalCenter: parent.horizontalCenter anchors.horizontalCenter: parent.horizontalCenter
@ -40,8 +42,7 @@ ModalPopup {
Rectangle { Rectangle {
color: Style.current.inputBackground color: Style.current.inputBackground
height: 44 height: 44
width: signPhrasePopup.width width: parent.width
anchors.left: signPhrasePopup.left
StyledText { StyledText {
id: signingPhrase id: signingPhrase
anchors.horizontalCenter: parent.horizontalCenter anchors.horizontalCenter: parent.horizontalCenter
@ -71,6 +72,7 @@ ModalPopup {
text: qsTrId("three-words-description-2") text: qsTrId("three-words-description-2")
verticalAlignment: Text.AlignVCenter verticalAlignment: Text.AlignVCenter
horizontalAlignment: Text.AlignHCenter horizontalAlignment: Text.AlignHCenter
width: parent.width
font.pixelSize: 13 font.pixelSize: 13
height: 18 height: 18
color: Style.current.danger color: Style.current.danger