From ec898944af8e8275fb1d617c226d710b5a4b326c Mon Sep 17 00:00:00 2001 From: wmayer Date: Fri, 11 Sep 2015 10:35:48 +0200 Subject: [PATCH] + don't use hardcoded height in PropertyItemDelegate::sizeHint --- src/Gui/propertyeditor/PropertyItemDelegate.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Gui/propertyeditor/PropertyItemDelegate.cpp b/src/Gui/propertyeditor/PropertyItemDelegate.cpp index f6ca915063..d548a745ae 100644 --- a/src/Gui/propertyeditor/PropertyItemDelegate.cpp +++ b/src/Gui/propertyeditor/PropertyItemDelegate.cpp @@ -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; }