mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-11 16:06:04 -06:00
#5444 Curve Selection Dialog : Adjust plot size
Size policy has changed in RiuQwtPlotWidget, set back to previous size policy
This commit is contained in:
parent
7aea799a70
commit
26c4e81789
@ -239,8 +239,10 @@ QWidget* RicSummaryCurveCreatorSplitterUi::getOrCreatePlotWidget()
|
||||
{
|
||||
if ( m_summaryCurveCreator )
|
||||
{
|
||||
// TODO: Rename previewPlot()->createViewWidget to getOrCreateViewWidget
|
||||
return m_summaryCurveCreator->previewPlot()->createPlotWidget( this->widget() );
|
||||
auto widget = m_summaryCurveCreator->previewPlot()->createPlotWidget( this->widget() );
|
||||
widget->setSizePolicy( QSizePolicy::MinimumExpanding, QSizePolicy::MinimumExpanding );
|
||||
|
||||
return widget;
|
||||
}
|
||||
|
||||
return nullptr;
|
||||
|
Loading…
Reference in New Issue
Block a user