Is there anyway to change our widget blueprint icon in the palette?

Hello there,
I have some custom widget blueprint, can I change the palette icon?

Screenshot 2025-02-13 191336

Can I change that icon above so I have variety of icon like the image below?

Thanks!

It’s unfortunately not a simple task:

There is an external link explaining the process.

You can also look into many of the classes in the source of the engine files ending in EditorStyle (.h and .cpp)

Though the best way would be to isolate your custom classes into a module. Then you can register the icons in a style file on a module level.

Look at UMGStyle.cpp that registers the icons en mass for most of the widget element classes (ProgressBar, Scrollbar etc).

It’s not an overly complex file to understand and you can pretty much clone most of the structure repurposing names and paths for your own asset types.

2 Likes

Hello, Thanks for replying and it helped me. I already successfully change the Icon however there still a problem in there.

The hierarchy icon is changed, but the palette still not changed.

I already done it like how Unreal handle it in the UMGStyle.cpp yet this is the result. Do you have any idea about whats wrong with this?

I really appreciate your answer, thanks!