From c8ebca60414e5c93185f925596a934939de02a88 Mon Sep 17 00:00:00 2001 From: jonjenssen Date: Mon, 13 Mar 2023 14:27:26 +0100 Subject: [PATCH] Less spacing between legend items --- ApplicationLibCode/UserInterface/RiuQwtPlotLegend.cpp | 1 + 1 file changed, 1 insertion(+) 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 ); }