Download

UMG: Previewing custom blueprint Widgets in realtime

One of benefits of C++ widgets is that they allow you to see realtime preview in the editor, when changing their properties.

Custom blueprint user widgets do not allow this, as the blueprint scripts aren’t being run while editing properties in the editor. This tutorial adds a *OnSynchronizeProperties *blueprint event, which will be called every time you edit a property in editor.

This enables realtime preview of blueprint widgets.

NOTE: This is an experimental feature. Backup your project first.

Example:
Here is a popup window containing multiple generic custom list widgets. Each custom list generates a title text and list of buttons. The custom list widgets have custom default properties for the list title string and an array of button title strings.

UMG_Previewing_custom_UserWidgets_in_realtime_DesignableUserWidget.png

Without the realtime view, only manually added placeholder values are displayed. With realtime preview, the custom list widgets construct and configure all the neccessary widgets.

Wiki: https://wiki.unrealengine.com/UMG_Previewing_custom_UserWidgets_in_realtime

Interesting, meanwhile i will subscribe the thread :slight_smile: