mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
#2797 Ensemble curves. Slightly increased cateory legend height
This commit is contained in:
@@ -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 )
|
||||
|
||||
Reference in New Issue
Block a user