修改默认行高.

This commit is contained in:
iaom 2022-10-26 17:36:44 +08:00
parent 9f54e92ee4
commit 3ba0c77626
1 changed files with 1 additions and 1 deletions

View File

@ -17,7 +17,7 @@ void ResultViewDelegate::setSearchKeyword(const QString &regFindKeyWords)
QSize ResultViewDelegate::sizeHint(const QStyleOptionViewItem &option, const QModelIndex &index) const QSize ResultViewDelegate::sizeHint(const QStyleOptionViewItem &option, const QModelIndex &index) const
{ {
QSize size = QStyledItemDelegate::sizeHint(option,index); QSize size = QStyledItemDelegate::sizeHint(option,index);
size.setHeight(size.height() + 50); size.setHeight(size.height() + 10);
return size; return size;
} }