mirror of
https://github.com/OPM/ResInsight.git
synced 2025-01-26 00:06:49 -06:00
Move well path completion property editor label to top
This commit is contained in:
parent
813b8ecad2
commit
59f55f0c06
@ -42,6 +42,7 @@ RimWellPathCompletion::RimWellPathCompletion()
|
||||
m_displayCoordinates.registerGetMethod(this, &RimWellPathCompletion::displayCoordinates);
|
||||
m_displayCoordinates.uiCapability()->setUiReadOnly(true);
|
||||
m_displayCoordinates.uiCapability()->setUiEditorTypeName(caf::PdmUiTextEditor::uiEditorTypeName());
|
||||
m_displayCoordinates.uiCapability()->setUiLabelPosition(caf::PdmUiItemInfo::LabelPosType::TOP);
|
||||
}
|
||||
|
||||
|
||||
@ -83,8 +84,7 @@ void RimWellPathCompletion::fieldChangedByUi(const caf::PdmFieldHandle* changedF
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
void RimWellPathCompletion::defineUiOrdering(QString uiConfigName, caf::PdmUiOrdering& uiOrdering)
|
||||
{
|
||||
caf::PdmUiGroup* geometryGroup = uiOrdering.addNewGroup("Geometry");
|
||||
geometryGroup->add(&m_displayCoordinates);
|
||||
uiOrdering.add(&m_displayCoordinates);
|
||||
}
|
||||
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
|
Loading…
Reference in New Issue
Block a user