fix(SwapModal): Buy button not resizing with text
- also limit the max width in order for the ErrorTag not to overflow the modal width Fixes #15687
This commit is contained in:
parent
7fb241b964
commit
765b526493
|
@ -307,6 +307,7 @@ StatusDialog {
|
|||
ErrorTag {
|
||||
objectName: "errorTag"
|
||||
visible: d.isError
|
||||
Layout.maximumWidth: parent.width
|
||||
Layout.alignment: Qt.AlignHCenter
|
||||
Layout.topMargin: Style.current.smallPadding
|
||||
text: root.swapAdaptor.errorMessage
|
||||
|
|
|
@ -54,7 +54,6 @@ InformationTag {
|
|||
objectName: "rightComponentButton"
|
||||
horizontalPadding: 8
|
||||
|
||||
width: visible || root.loading ? implicitWidth : 0
|
||||
visible: root.buttonVisible
|
||||
|
||||
size: StatusBaseButton.Size.Tiny
|
||||
|
|
Loading…
Reference in New Issue