I have some customised widgets for various UI components and all are working well.
When attempting to simplify their use and remove as much code/Blueprint involvement for the design team, I am hitting a snag.
My custom widget spawns other widgets into a custom container widget. To do this it needs to be told which container to spawn them into (as this is placed at design time). Now in the class I have defined a UPROPERTY for the target container widget like so:
UPROPERTY(BlueprintReadWrite, EditAnywhere, Category = "Widget Spawner")
UPanelWidget* targetPanel = nullptr;
When I attempt to set this in the editor to point to the instance of the container widget I wish to use, I click the drop down list box and the possibilities (UPanelWidgets that have been flagged as is variable
) are listed. However, when I select ANY of them, the drop down closes and nothing is set!
Have I missed something in my property definition? or is this an editor bug?