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:
parent
ad94dd9d97
commit
4389b15e37
@ -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 );
|
||||
}
|
||||
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
|
Loading…
Reference in New Issue
Block a user