#4995 Place legends from comparison view to the right.

Adjust the axiscross to follow the legends
This commit is contained in:
Jacob Støren committed 2019-11-08 10:40:37 +01:00
1 parent 331361e2b2
commit a9dc07ddc9
7 files changed
+142 -16

No files matched your search

@@ -451,7 +451,8 @@ void RimGeoMechView::onUpdateLegends()
if ( cellResult()->hasResult() && cellResult()->legendConfig()->showLegend() )
{
nativeOrOverrideViewer()->addColorLegendToBottomLeftCorner( cellResult()->legendConfig->titledOverlayFrame() );
nativeOrOverrideViewer()->addColorLegendToBottomLeftCorner( cellResult()->legendConfig->titledOverlayFrame(),
isUsingOverrideViewer() );
}
if ( tensorResults()->showTensors() )
@@ -461,8 +462,9 @@ void RimGeoMechView::onUpdateLegends()
if ( tensorResults()->vectorColors() == RimTensorResults::RESULT_COLORS &&
tensorResults()->arrowColorLegendConfig()->showLegend() )
{
nativeOrOverrideViewer()->addColorLegendToBottomLeftCorner(
m_tensorResults->arrowColorLegendConfig->titledOverlayFrame() );
nativeOrOverrideViewer()
->addColorLegendToBottomLeftCorner( m_tensorResults->arrowColorLegendConfig->titledOverlayFrame(),
isUsingOverrideViewer() );
}
}
}