修改默认行高.
This commit is contained in:
parent
9f54e92ee4
commit
3ba0c77626
|
@ -17,7 +17,7 @@ void ResultViewDelegate::setSearchKeyword(const QString ®FindKeyWords)
|
|||
QSize ResultViewDelegate::sizeHint(const QStyleOptionViewItem &option, const QModelIndex &index) const
|
||||
{
|
||||
QSize size = QStyledItemDelegate::sizeHint(option,index);
|
||||
size.setHeight(size.height() + 50);
|
||||
size.setHeight(size.height() + 10);
|
||||
return size;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue