Commit b499ac4c authored by Łukasz Wojniłowicz's avatar Łukasz Wojniłowicz
Browse files

Fix spacing for IBAN/BIC editor

BUG:388748
FIXED-IN:5.0
parent 663490aa
......@@ -106,7 +106,7 @@ QSize ibanBicItemDelegate::sizeHint(const QStyleOptionViewItem& option, const QM
const int margin = style->pixelMetric(QStyle::PM_FocusFrameHMargin) + 1;
// A bic has maximal 11 characters, an IBAN 32
return QSize((32 + 11)*metrics.width(QLatin1Char('X')) + 3*margin, 2*metrics.lineSpacing() + metrics.leading() + 2*margin);
return QSize((32 + 11)*metrics.width(QLatin1Char('X')) + 3*margin, 3*metrics.lineSpacing() + metrics.leading() + 2*margin);
}
QWidget* ibanBicItemDelegate::createEditor(QWidget* parent, const QStyleOptionViewItem& option, const QModelIndex& index) const
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment