mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
#4299 Make sure the size hint for property view is large enough for the content
This commit is contained in:
parent
8e720f7077
commit
02f769fd31
@ -224,7 +224,7 @@ PdmObjectHandle* PdmUiPropertyView::currentObject()
|
|||||||
//--------------------------------------------------------------------------------------------------
|
//--------------------------------------------------------------------------------------------------
|
||||||
QSize PdmUiPropertyView::sizeHint() const
|
QSize PdmUiPropertyView::sizeHint() const
|
||||||
{
|
{
|
||||||
return m_scrollArea->sizeHint();
|
return m_scrollArea->sizeHint().expandedTo(m_placeholder->sizeHint());
|
||||||
}
|
}
|
||||||
|
|
||||||
//--------------------------------------------------------------------------------------------------
|
//--------------------------------------------------------------------------------------------------
|
||||||
|
Loading…
Reference in New Issue
Block a user