Cant hide inherited properties in Details Customization
So I have
and derived class:
Now, I'd like to customize
But it simply doesnt work -
Another bug I found was that if you try to add a property manually to Details, using CreatePropertyValueWidget() returns empty widget for properties that should have customized details view (like vector). So if you have a code that looks like this:
you expect to see row that looks like this:
What you really get is:
Any tips or explanation the logic behind this is much appreciated.
asked Jun 10 '15 at 01:46 PM in Bug Reports
I've faced the second problem when making PropertyTypeCustomizations - the solution was to replace
As you are trying to do the same thing in Details customization, you will probably have to copypaste this function from the engine, because it is not static. It does this voodo magic (CustomChildBuilder.cpp):
ParentCategory is just a weak pointer to a IDetailCategoryBuilder which you get with DetailBuilder.EditCategory.
I believe you can tackle the first problem with DetailsViewPtr as well, but I'm not really sure how exactly. It just has a bunch of methods related to property visibility.
Hiding a specific property inside a category is not supported. One option would be to use AdvancedDisplay which would put the property into a collapsed section of the category. Alternatively you may want to use private instead of public for the property or set the UPROPERTY() macro to not include EditAnywhere so that it won't show up in the editor.
answered Jul 01 '15 at 08:50 PM
Follow this question
Once you sign in you will be able to subscribe for any updates here