Fix row count of scroll bar in Well Log Plots

This commit is contained in:
Gaute Lindkvist 2020-03-11 08:23:33 +01:00
parent c56c4b6dfd
commit 6b289f0db2

View File

@ -91,7 +91,7 @@ void RiuWellLogPlot::reinsertScrollbar()
int rowCount = this->m_gridLayout->rowCount();
int colCount = this->m_gridLayout->columnCount();
m_gridLayout->addLayout( m_trackScrollBarLayout, 2, colCount, rowCount * 2 - 1, 1 );
m_gridLayout->addLayout( m_trackScrollBarLayout, 2, colCount, 1, 1 );
m_trackScrollBar->setVisible( !plotWidgets.empty() );
m_gridLayout->setColumnStretch( colCount, 0 );
}