From b0da949be1cf42328c9763b71c7ea49e365d04b9 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; }