Less spacing between legend items

This commit is contained in:
jonjenssen 2023-03-13 14:27:26 +01:00 committed by Magne Sjaastad
parent 836822c2b9
commit c8ebca6041

View File

@ -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 );
}