Browse Source

qml: styling CloseChannelDialog error text

master
Sander van Grieken 3 years ago
parent
commit
cb4c99dc19
  1. 6
      electrum/gui/qml/components/CloseChannelDialog.qml

6
electrum/gui/qml/components/CloseChannelDialog.qml

@ -141,12 +141,12 @@ ElDialog {
Layout.columnSpan: 2 Layout.columnSpan: 2
Layout.maximumWidth: parent.width Layout.maximumWidth: parent.width
Label { InfoTextArea {
id: errorText id: errorText
Layout.alignment: Qt.AlignHCenter Layout.alignment: Qt.AlignHCenter
Layout.maximumWidth: parent.width Layout.maximumWidth: parent.width
visible: !_closing && errorText visible: !_closing && errorText.text
wrapMode: Text.Wrap iconStyle: InfoTextArea.IconStyle.Error
} }
Label { Label {
Layout.alignment: Qt.AlignHCenter Layout.alignment: Qt.AlignHCenter

Loading…
Cancel
Save