This is my first time trying to create a UI.
My first problem: why isn’t the border of the 1920*1080 display showing, only the double arrow is shown?
Second problem: If I add anything in the UI, it is super big and takes the whole 1920*1080 space?
In the picture below I added a button
why isn’t the border of the 1920*1080 display showing
Why should it? You have no border; and if you look at the bottom left, that’s the default res. Change it in Screen Size at the top - to the right.
If I add anything in the UI, it is super big and takes the whole 1920*1080 space
By default most widgets will take all the space they are given unless their size is specified. This can be done in many ways.
Generally speaking, you will be placing widgets inside other widgets - containers or panels. When this occurs, the Outer container widget creates a specific slot type who then can override the behaviour of the Inner child. A Border
slot will be different from a Vertical Box
slot, and a Canvas
will produce yet another slot type for its children.
Perhaps you want to add the Canvas
panel as the root first, you’ll be then able to place, resize and anchor widgets more freely.
In UE4 widgets came with a canvas by default, it seems this is not the case in UE5 - this must be the 3rd thread I’m seeing. It can be a tad confusing, indeed.Preformatted text
3 Likes