#4299 Make sure the size hint for property view is large enough for the content

This commit is contained in:
Gaute Lindkvist 2019-04-08 09:15:18 +02:00
parent 8e720f7077
commit 02f769fd31

View File

@ -224,7 +224,7 @@ PdmObjectHandle* PdmUiPropertyView::currentObject()
//--------------------------------------------------------------------------------------------------
QSize PdmUiPropertyView::sizeHint() const
{
return m_scrollArea->sizeHint();
return m_scrollArea->sizeHint().expandedTo(m_placeholder->sizeHint());
}
//--------------------------------------------------------------------------------------------------