mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
Reduce space around legend texts for better visuals.
This commit is contained in:
@@ -865,9 +865,12 @@ void RiuMultiPlotPage::updateLegendFont( RiuQwtPlotLegend* legend )
|
|||||||
for ( QwtLegendLabel* label : labels )
|
for ( QwtLegendLabel* label : labels )
|
||||||
{
|
{
|
||||||
label->setFont( legendFont );
|
label->setFont( legendFont );
|
||||||
|
label->setMargin( 0 );
|
||||||
|
label->setSpacing( 1 );
|
||||||
}
|
}
|
||||||
|
|
||||||
legend->setFont( legendFont );
|
legend->setFont( legendFont );
|
||||||
|
legend->setContentsMargins( 0, 0, 0, 0 );
|
||||||
}
|
}
|
||||||
|
|
||||||
//--------------------------------------------------------------------------------------------------
|
//--------------------------------------------------------------------------------------------------
|
||||||
|
|||||||
Reference in New Issue
Block a user