mirror of
https://github.com/OPM/ResInsight.git
synced 2026-10-16 18:32:10 -05:00
Reduce space around legend texts for better visuals.
This commit is contained in:
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 );
|
||||
}
|
||||
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
|
||||
Reference in new issue
Block a user