Customizations that use FDetailPropertyRow::CustomWidget and set the visibility attribute do not honor it. A Customization set up like the below, for instance, will not honor the Visibility in red due to it being a CustomWidget. The reason is that things that make their widgets this way are not added to the tickable nodes to have the visibility refreshed.
IDetailPropertyRow& ComplexFieldDetailPropertyRow = StructBuilder.AddProperty(ComplexFieldPropertyHandle);
ComplexFieldDetailPropertyRow.GetDefaultWidgets(ComplexFieldNameWidget, ComplexFieldValueWidget);
ComplexFieldDetailPropertyRow
.CustomWidget()
// <DOESN'T WORK>
.Visibility(TAttribute<EVisibility>(this, &FMyStructCustomization::GetFieldVisibilityFailing))
.NameContent()
[
ComplexFieldNameWidget.ToSharedRef()
]
.ValueContent()
[
ComplexFieldValueWidget.ToSharedRef()
];
Generally speaking, each time you tab out of the simple field, ComplexField row should be showing if and only if there is text in the Simple Field text box (see gif)
I am not able to find world outliner how to enable it?
Undefined sysmbol: typeinfo for AActor when cross-compile linux dedicated server on windows
When I open UE4 4.24.3 it appears that. Does anyone know how to solve?
Delay nodes occasionally don't fire the "Completed" output in a nativized build
How can i modify the param name in EQS node
What method is used to fill polygonal regions when drawing spline mesh at run time?
Error: Epic Games Launcher display like
How to achieve HLSL Multiple Render Target in Material blueprints?
There's no existing public thread on this issue, so head over to Questions & Answers just mention UE-199425 in the post.
0 |
Component | UE - Editor - Workflow Systems |
---|---|
Affects Versions | 5.3 |
Target Fix | 5.4 |
Fix Commit | 29528182 |
---|---|
Main Commit | 29531220 |
Created | Oct 31, 2023 |
---|---|
Resolved | Nov 8, 2023 |
Updated | Feb 1, 2024 |