🎓Creating a window displaying a widget
📄 Requirements
To have a basic understanding on how this plugin gets used
you followed step 2: Installing This Plugin
you followed step 3: Enabling This Plugin
you followed step 4: Working With The Subystem
➕ Creating a widget to display on the window
Right click in your content browser. If you don’t see your content browser, press CTRL+Spacebar on your keyboard
Hover over “User Interface”
Click on “Widget Blueprint"
Click on “User Widget”
Name the widget like you want. But remember how you named it

After you named the widget, double click to open it
In your Palette, search for “Canvas Panel”
Drag and drop the Canvas Panel on your widget root

Add what ever you like. Example: A Text
→ Search for “Text”. Drag and drop the text on your Canvas Panel

Compile and save the widget

💻 Creating the window
Go into any blueprint, call the subsystem and from there, call the “Create Window” node.
Make the Window Settings struct
Click on the arrow to expand the struct to see more settings
Make the Advanced Border Settings Struct
Make the Size Restriction Settings Struct and expand it
Make the Bool Values Struct and expand it

Now you can see all the settings for creating a window. If you want to know more about what each settings does, make sure to check out the Window Settings struct
Run this code for creating a window anywhere and whenever you want and you will get a result like the following picture. Now you can easily tweak the widget and the window however you want

When you now tweak the data shown in your widget, you can do stuff like this:

🙏 Final Words
Are you enjoying this plugin? Then don’t forget to leave a review to support the creator!
Last updated