mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
#9344 Horizontal plots: Support row span for tracks
This commit is contained in:
parent
6d5e303361
commit
1a5da47418
@ -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();
|
||||
|
Loading…
Reference in New Issue
Block a user