Less spacing between legend items

This commit is contained in:
jonjenssen authored and Magne Sjaastad committed 2023-03-13 14:49:11 +01:00
1 parent 836822c2b9
commit c8ebca6041
1 file changed
+1
@@ -41,6 +41,7 @@ RiuQwtPlotLegend::RiuQwtPlotLegend( QWidget* parent /*= nullptr */ )
if ( legendLayout )
{
legendLayout->setExpandingDirections( Qt::Horizontal | Qt::Vertical );
legendLayout->setSpacing( 1 );
}
setSizePolicy( QSizePolicy::Preferred, QSizePolicy::MinimumExpanding );
}