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 {
|
StatusScrollView {
|
||||||
id: scrollView
|
id: scrollView
|
||||||
anchors.fill: parent
|
anchors.fill: parent
|
||||||
|
|
||||||
implicitWidth: Constants.keycard.general.popupWidth
|
|
||||||
contentWidth: availableWidth
|
contentWidth: availableWidth
|
||||||
|
horizontalPadding: 0
|
||||||
|
|
||||||
KeycardPopupContent {
|
KeycardPopupContent {
|
||||||
id: content
|
id: content
|
||||||
|
|
|
@ -67,12 +67,14 @@ Item {
|
||||||
StatusBaseText {
|
StatusBaseText {
|
||||||
id: title
|
id: title
|
||||||
Layout.alignment: Qt.AlignCenter
|
Layout.alignment: Qt.AlignCenter
|
||||||
|
Layout.maximumWidth: parent.width
|
||||||
font.weight: Font.Bold
|
font.weight: Font.Bold
|
||||||
}
|
}
|
||||||
|
|
||||||
StatusBaseText {
|
StatusBaseText {
|
||||||
id: message
|
id: message
|
||||||
Layout.alignment: Qt.AlignCenter
|
Layout.alignment: Qt.AlignCenter
|
||||||
|
Layout.maximumWidth: parent.width
|
||||||
wrapMode: Text.WordWrap
|
wrapMode: Text.WordWrap
|
||||||
visible: text != ""
|
visible: text != ""
|
||||||
}
|
}
|
||||||
|
@ -81,6 +83,7 @@ Item {
|
||||||
id: password
|
id: password
|
||||||
objectName: "keycardPasswordInput"
|
objectName: "keycardPasswordInput"
|
||||||
Layout.alignment: Qt.AlignHCenter
|
Layout.alignment: Qt.AlignHCenter
|
||||||
|
Layout.maximumWidth: parent.width
|
||||||
signingPhrase: root.sharedKeycardModule.getSigningPhrase()
|
signingPhrase: root.sharedKeycardModule.getSigningPhrase()
|
||||||
placeholderText: qsTr("Password")
|
placeholderText: qsTr("Password")
|
||||||
selectByMouse: true
|
selectByMouse: true
|
||||||
|
@ -102,6 +105,7 @@ Item {
|
||||||
StatusBaseText {
|
StatusBaseText {
|
||||||
id: info
|
id: info
|
||||||
Layout.alignment: Qt.AlignCenter
|
Layout.alignment: Qt.AlignCenter
|
||||||
|
Layout.maximumWidth: parent.width
|
||||||
wrapMode: Text.WordWrap
|
wrapMode: Text.WordWrap
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue