Add widget to a widget inside blueprints

broken image

Then, drag off the pin and add a Set Style node. In the Event Graph, hold Ctrl and drag the Button from the My Blueprint panel. You can also change the graph layout to Desired on Screen to get an idea of the actual size of the button.

broken image

In the Size Box Details panel, change the Width Override to 300 and Height Override to 100. Then, add a Button, Right-click, and select Wrap With > Size Box. Inside the CustomButton Widget Blueprint, delete the Canvas Panel.

broken image

You can also add a Widget Blueprint by navigating to Content Browser > Add New > User Interface.

broken image