mirror of
https://github.com/OPM/ResInsight.git
synced 2026-10-14 17:32:13 -05:00
#9344 Horizontal plots: Support row span for tracks
This commit is contained in:
1 parent
6d5e303361
commit
1a5da47418
1 file changed
+8
-1
@@ -1945,7 +1945,14 @@ caf::PdmObject* RimWellLogTrack::findPdmObjectFromPlotCurve( const RiuPlotCurve*
|
||||
void RimWellLogTrack::defineUiOrdering( QString uiConfigName, caf::PdmUiOrdering& uiOrdering )
|
||||
{
|
||||
uiOrdering.add( &m_description );
|
||||
uiOrdering.add( &m_colSpan );
|
||||
|
||||
RimDepthTrackPlot* plot = nullptr;
|
||||
firstAncestorOrThisOfType( plot );
|
||||
bool isHorizontal = plot && plot->depthOrientation() == RimDepthTrackPlot::DepthOrientation::HORIZONTAL;
|
||||
if ( isHorizontal )
|
||||
uiOrdering.add( &m_rowSpan );
|
||||
else
|
||||
uiOrdering.add( &m_colSpan );
|
||||
|
||||
caf::PdmUiGroup* annotationGroup = uiOrdering.addNewGroup( "Regions/Annotations" );
|
||||
annotationGroup->setCollapsedByDefault();
|
||||
|
||||
Reference in new issue
Block a user