Skip to content
Permalink
Browse files

Add some spacing around preview icons in property assistant

  • Loading branch information
nyalldawson committed Feb 14, 2017
1 parent 7bf97be commit 9c19142094537e8a02674ba2a074b1e2dd808b9f
Showing with 3 additions and 1 deletion.
  1. +3 −1 src/gui/qgspropertyassistantwidget.h
@@ -143,7 +143,9 @@ class ItemDelegate : public QItemDelegate

QSize sizeHint( const QStyleOptionViewItem& /*option*/, const QModelIndex & index ) const override
{
return mModel->item( index.row() )->icon().actualSize( QSize( 512, 512 ) );
QSize size = mModel->item( index.row() )->icon().actualSize( QSize( 512, 512 ) );
size.rheight() += 6;
return size;
}

private:

0 comments on commit 9c19142

Please sign in to comment.
You can’t perform that action at this time.