About 'Spawning Widgets In C++'!

In this video (objectives)…

  1. Introduce the APIs. (CreateWidget, GetChildAt, AddChild)
  2. Creating the Card widget.
  3. Spawn a widget.
  4. Add to the size box.

After watching (learning outcomes)…

How to spawn widgets and add then to PanelWidgets.

(Unique Video Reference: 25_LP_VR2)

We would love to know…

  • What you found good about this lecture?
  • What we could do better?

Remember that you can reply to this topic, or create a new topic. The easiest way to create a new topic is to follow the link in Resources. That way the topic will…

  • Be in the correct forum (for the course).
  • Be in the right sub-forum (for the section)
  • Have the correct lecture tag.

Enjoy your stay in our thriving community!

UE 4.26.0 Will crash when copying the button from WBP_PaintingGrid to WBP_PaintingGridCard, either by Copying (Ctrl+C) or cutting (Ctrl+X).

My solution was to drag a new Button from the Palette and then copying the Normal, Hovered and Pressed (Appearance - Style) properties of the button from WBP_PaintingGrid into the new WBP_PaintingGridCard button. Comile the Blueprint and it will look and behave the same way as in the WBP_PaintingGrid.

After the changes in the code the editor DOES need a restart at the end as in the lesson for the WBP_PaintingGridCard to spawn.

copy_WBP
paste_WBP

At what time stamp do I do this in the video? I would like to insert an edit.

4:50

In the next video you also do some copying and pasting as well and the editor on your version crashes, you end up typing the two short parameters but it does not crash in 4.26.0