Copy-paste the TestCode.h and TestCode.cpp into a module
Activate the customization in the StartupModule() function
```
FPropertyEditorModule& PropertyModule = FModuleManager::LoadModuleChecked<FPropertyEditorModule>("PropertyEditor");
PropertyModule.RegisterCustomPropertyTypeLayout(FDetailsLayoutTestConfig::StaticStruct()->GetFName(), FOnGetPropertyTypeCustomizationInstance::CreateStatic(&FDetailsLayoutTestConfigCustomization::MakeInstance));
```
Add the component to an actor
EXPECT: Component Settings -> Component String is not a visible property
Click "Show Component String"
EXPECT: Component String to become visible
Click Config->Object->External Settings-> Show External String
EXPECT: Conditionally Shown External String should become visible
ACTUAL: Is isn't visible. Deselecting the component and reselecting makes it visible
There's no existing public thread on this issue, so head over to Questions & Answers just mention UE-229937 in the post.
1 |
Component | UE - Editor - Workflow Systems |
---|---|
Affects Versions | 5.4, 5.5 |
Created | Nov 7, 2024 |
---|---|
Updated | Nov 19, 2024 |