diff --git a/ApplicationLibCode/UserInterface/RiuQwtPlotLegend.cpp b/ApplicationLibCode/UserInterface/RiuQwtPlotLegend.cpp index 7d4e30e1b7..c0478470cf 100644 --- a/ApplicationLibCode/UserInterface/RiuQwtPlotLegend.cpp +++ b/ApplicationLibCode/UserInterface/RiuQwtPlotLegend.cpp @@ -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 ); }