mirror of
https://github.com/OPM/ResInsight.git
synced 2025-01-24 07:16:53 -06:00
#2797 Ensemble curves. Slightly increased cateory legend height
This commit is contained in:
parent
483f19e5ca
commit
736277e0ef
@ -503,7 +503,7 @@ cvf::Vec2ui CategoryLegend::preferredSize()
|
||||
OverlayColorLegendLayoutInfo layout({200,200}); // Use default size
|
||||
layoutInfo(&layout);
|
||||
|
||||
float prefferredYSize = 2*layout.margins.y() + (this->titleStrings().size() + m_categoryMapper->categoryCount() )* layout.lineSpacing ;
|
||||
float prefferredYSize = 2*layout.margins.y() + (this->titleStrings().size() + m_categoryMapper->categoryCount() + 1)* layout.lineSpacing ;
|
||||
|
||||
unsigned int maxTickTextWidth = 0;
|
||||
for (size_t cIdx = 0; cIdx < m_categoryMapper->categoryCount(); ++cIdx )
|
||||
|
Loading…
Reference in New Issue
Block a user