mirror of
https://github.com/OPM/ResInsight.git
synced 2026-10-13 17:02:13 -05:00
Add support for giving all axes with the same label the same range.
This commit is contained in:
1 parent
728885a6c8
commit
d7555cbf4c
5 files changed
+85
-2
No files matched your search
@@ -87,7 +87,7 @@ RimMultiPlot::RimMultiPlot()
|
||||
CAF_PDM_InitFieldNoDefault( &m_subTitleFontSize, "SubTitleFontSize", "Sub Plot Title Font Size" );
|
||||
m_subTitleFontSize = caf::FontTools::RelativeSize::Large;
|
||||
|
||||
CAF_PDM_InitField( &m_pagePreviewMode, "PagePreviewMode", false, "Page Preview Mode" );
|
||||
CAF_PDM_InitField( &m_pagePreviewMode, "PagePreviewMode", false, "Page Preview Mode", "", "Page Preview" );
|
||||
m_pagePreviewMode.uiCapability()->setUiEditorTypeName( caf::PdmUiToolButtonEditor::uiEditorTypeName() );
|
||||
m_pagePreviewMode.uiCapability()->setUiIconFromResourceString( ":/PagePreview16x16.png" );
|
||||
m_viewer = nullptr;
|
||||
@@ -192,6 +192,8 @@ void RimMultiPlot::insertPlot( RimPlot* plot, size_t index )
|
||||
{
|
||||
setTickmarkCount( plot, m_majorTickmarkCount() );
|
||||
|
||||
if ( index > m_plots.size() ) index = m_plots.size();
|
||||
|
||||
m_plots.insert( index, plot );
|
||||
|
||||
if ( m_viewer )
|
||||
|
||||
Reference in new issue
Block a user