!21 修改默认行高.

Merge pull request !21 from iaom/1026
This commit is contained in:
iaom 2022-10-26 09:38:13 +00:00 committed by Gitee
commit 4e37c1d210
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F
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;
} }