Less spacing between legend items

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

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