Add and use caf::PdmUiPushButtonEditor::configureEditorLabelHidden

This commit is contained in:
Magne Sjaastad
2024-02-23 08:47:52 +01:00
parent a3d520e26e
commit 6fe997b3c9
41 changed files with 91 additions and 115 deletions

View File

@@ -102,7 +102,7 @@ RimWellPathGeometryDef::RimWellPathGeometryDef()
CAF_PDM_InitFieldNoDefault( &m_fixedMeasuredDepths, "FixedMeasuredDepths", "" );
CAF_PDM_InitField( &m_pickPointsEnabled, "m_pickPointsEnabled", false, "" );
caf::PdmUiPushButtonEditor::configureEditorForField( &m_pickPointsEnabled );
caf::PdmUiPushButtonEditor::configureEditorLabelHidden( &m_pickPointsEnabled );
CAF_PDM_InitScriptableField( &m_showSpheres, "ShowSpheres", true, "Spheres" );
CAF_PDM_InitField( &m_sphereColor, "SphereColor", cvf::Color3f( cvf::Color3f::CEETRON ), "Sphere Color" );