Make sure Ternary legends also expand and renamed width method.

This commit is contained in:
Gaute Lindkvist
2018-04-06 14:35:00 +02:00
parent 38aa447dcd
commit e93f79790e
6 changed files with 26 additions and 23 deletions

View File

@@ -623,7 +623,7 @@ void RiuViewer::addColorLegendToBottomLeftCorner(caf::TitledOverlayFrame* legend
for (auto legend : m_visibleLegends)
{
legend->setWidth(requiredLegendWidth);
legend->setMatchedWidth(requiredLegendWidth);
}
}