#3441 Improve table view to work better with more attribute types.

This commit is contained in:
Gaute Lindkvist
2018-10-02 14:55:17 +02:00
parent 0914d5b333
commit 71a1bd98ab
4 changed files with 19 additions and 8 deletions

View File

@@ -122,7 +122,7 @@ void RimWellPathAttributeCollection::defineEditorAttribute(const caf::PdmFieldHa
auto tvAttribute = dynamic_cast<caf::PdmUiTableViewEditorAttribute*>(attribute);
if (tvAttribute)
{
tvAttribute->forceColumnWidthResize = true;
tvAttribute->autoResizeColumnsToFillContainer = true;
}
}
}

View File

@@ -646,7 +646,7 @@ void RimWellPathGeometryDef::defineEditorAttribute(const caf::PdmFieldHandle* fi
if (tvAttribute && m_pickPointsEnabled)
{
tvAttribute->baseColor.setRgb(255, 220, 255);
tvAttribute->forceColumnWidthResize = true;
tvAttribute->autoResizeColumnsToFitContent = true;
}
}
}