+ don't use hardcoded height in PropertyItemDelegate::sizeHint

This commit is contained in:
wmayer
2015-09-11 10:35:48 +02:00
parent 274f6f8bdd
commit b0da949be1

View File

@@ -47,7 +47,7 @@ PropertyItemDelegate::~PropertyItemDelegate()
QSize PropertyItemDelegate::sizeHint(const QStyleOptionViewItem & option, const QModelIndex & index) const
{
QSize size = QItemDelegate::sizeHint(option, index);
size.setHeight(20);
size += QSize(0, 5);
return size;
}