Reduce space around legend texts for better visuals.

This commit is contained in:
jonjenssen authored and jonjenssen committed 2023-03-11 14:16:25 +01:00
1 parent ad94dd9d97
commit 4389b15e37
1 file changed
+3
@@ -865,9 +865,12 @@ void RiuMultiPlotPage::updateLegendFont( RiuQwtPlotLegend* legend )
for ( QwtLegendLabel* label : labels )
{
label->setFont( legendFont );
label->setMargin( 0 );
label->setSpacing( 1 );
}
legend->setFont( legendFont );
legend->setContentsMargins( 0, 0, 0, 0 );
}
//--------------------------------------------------------------------------------------------------