mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
Remove the unused, unnecessary "position" from several methods and the overlay layout struct
This commit is contained in:
@@ -622,7 +622,7 @@ void RiuViewer::addColorLegendToBottomLeftCorner(caf::TitledOverlayFrame* legend
|
||||
unsigned int requiredLegendWidth = 0u;
|
||||
for (auto legend : overlayItems)
|
||||
{
|
||||
legend->computeLayoutAndExtents(cvf::Vec2i(0, 0), legend->sizeHint());
|
||||
legend->computeLayoutAndExtents(legend->sizeHint());
|
||||
requiredLegendWidth = std::max(requiredLegendWidth, legend->minimumWidth());
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user