message: Line break stealth address in confirmation dialog
diff: @@ -403,6 +403,14 @@ void SpectreBridge::clearRecipients()
  recipients.clear();
  }
  +QString lineBreakAddress(QString address)
  +{
  + if (address.length() > 50)
  + return address.left(address.length() / 2) + "<br>" + address.mid(address.length() / 2);
  + else
  + return address;
  +}
  +
  void SpectreBridge::sendCoins(bool fUseCoinControl, QString sChangeAddr)
  {
  int inputTypes = -1;
  @@ -416,21 +424,21 @@ void SpectreBridge::sendCoins(bool fUseCoinControl, QString sChangeAddr)
  switch(rcp.txnTypeInd)
  {
  case TXT_SPEC_TO_SPEC:
  - formatted.append(tr("<b>%1</b> to %2 (%3)").arg(BitcoinUnits::formatWithUnit(BitcoinUnits::XSPEC, rcp.amount), rcp.label.toHtmlEscaped(), rcp.address));
  + formatted.append(tr("<b>%1</b> to %2 (%3)").arg(BitcoinUnits::formatWithUnit(BitcoinUnits::XSPEC, rcp.amount), rcp.label.toHtmlEscaped(), lineBreakAddress(rcp.address)));
  inputType = 0;
  break;
  case TXT_SPEC_TO_ANON:
  - formatted.append(tr("<b>%1</b> to SPECTRE, %2 (%3)").arg(BitcoinUnits::formatWithUnit(BitcoinUnits::XSPEC, rcp.amount), rcp.label.toHtmlEscaped(), rcp.address));
  + formatted.append(tr("<b>%1</b> to SPECTRE, %2 (%3)").arg(BitcoinUnits::formatWithUnit(BitcoinUnits::XSPEC, rcp.amount), rcp.label.toHtmlEscaped(), lineBreakAddress(rcp.address)));
  inputType = 0;
  nAnonOutputs++;
  break;
  case TXT_ANON_TO_ANON:
  - formatted.append(tr("<b>%1</b>, ring size %2 to %3 (%4)").arg(BitcoinUnits::formatWithUnitSpectre(BitcoinUnits::XSPEC, rcp.amount), QString::number(rcp.nRingSize), rcp.label.toHtmlEscaped(), rcp.address));
  + formatted.append(tr("<b>%1</b>, ring size %2 to %3 (%4)").arg(BitcoinUnits::formatWithUnitSpectre(BitcoinUnits::XSPEC, rcp.amount), QString::number(rcp.nRingSize), rcp.label.toHtmlEscaped(), lineBreakAddress(rcp.address)));
  inputType = 1;
  nAnonOutputs++;
  break;
  case TXT_ANON_TO_SPEC:
  - formatted.append(tr("<b>%1</b>, ring size %2 to XSPEC, %3 (%4)").arg(BitcoinUnits::formatWithUnitSpectre(BitcoinUnits::XSPEC, rcp.amount), QString::number(rcp.nRingSize), rcp.label.toHtmlEscaped(), rcp.address));
  + formatted.append(tr("<b>%1</b>, ring size %2 to XSPEC, %3 (%4)").arg(BitcoinUnits::formatWithUnitSpectre(BitcoinUnits::XSPEC, rcp.amount), QString::number(rcp.nRingSize), rcp.label.toHtmlEscaped(), lineBreakAddress(rcp.address)));
  inputType = 1;
  break;
  default:
  