fix: Wallet: Authentication popup is broken
- do no let text/input overflow our overall width - set the scrollview horizontal padding to 0, the content item has its own margins already Fixes #10915
This commit is contained in:
parent
ee9db6a302
commit
2a253be291
|
@ -64,9 +64,8 @@ StatusModal {
|
|||
StatusScrollView {
|
||||
id: scrollView
|
||||
anchors.fill: parent
|
||||
|
||||
implicitWidth: Constants.keycard.general.popupWidth
|
||||
contentWidth: availableWidth
|
||||
horizontalPadding: 0
|
||||
|
||||
KeycardPopupContent {
|
||||
id: content
|
||||
|
|
|
@ -67,12 +67,14 @@ Item {
|
|||
StatusBaseText {
|
||||
id: title
|
||||
Layout.alignment: Qt.AlignCenter
|
||||
Layout.maximumWidth: parent.width
|
||||
font.weight: Font.Bold
|
||||
}
|
||||
|
||||
StatusBaseText {
|
||||
id: message
|
||||
Layout.alignment: Qt.AlignCenter
|
||||
Layout.maximumWidth: parent.width
|
||||
wrapMode: Text.WordWrap
|
||||
visible: text != ""
|
||||
}
|
||||
|
@ -81,6 +83,7 @@ Item {
|
|||
id: password
|
||||
objectName: "keycardPasswordInput"
|
||||
Layout.alignment: Qt.AlignHCenter
|
||||
Layout.maximumWidth: parent.width
|
||||
signingPhrase: root.sharedKeycardModule.getSigningPhrase()
|
||||
placeholderText: qsTr("Password")
|
||||
selectByMouse: true
|
||||
|
@ -102,6 +105,7 @@ Item {
|
|||
StatusBaseText {
|
||||
id: info
|
||||
Layout.alignment: Qt.AlignCenter
|
||||
Layout.maximumWidth: parent.width
|
||||
wrapMode: Text.WordWrap
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue