Why is the text block taking up the whole screen space in widget>

Im new to UE4 and am following a tutorial called "survival Horror From Scratch " By virtus learning hub on youtube , in the #3 video of the series , he starts to create the ui of the health and stamina bar , when he adds a text block it comes up as normal , but mine comes up with it being in the top left corner and takes the whole space , and dosent let me add another text block . Please help

Thats how widgets work in Slate and UMG, they fill whole space given to them and that space is contained with other widgets specially made for that. What you looking for is Canvas widget which let you place contained widgets anywhere at it space, it should be there by default, maybe you delete it? there also other containing widgets like horizontal box vertical box which place containing widgets one by one, which you probably gonna end up using them frquintly too.

I dont think thst i did anything beforehand , i was just following the tutorial and saw that i didnt have any constraints like the virtus dude had . How can i turn the canvas widget on ?

just place it :stuck_out_tongue: remove everything you got now and place canvas widget and then you can place other widgets on it in any location

I just had this exact same problem. If you create the widget from the blueprint class button when you right click in the Content Browser, you will have this problem. To fix it, I deleted the widget from Blueprint class, and went into User Interface, and created a Widget Blueprint from there. I am not sure what the difference was, but I changed it out, and now my text boxes are normal size again. Hope that helps!

Ok. I had the same problem. Didn’t get anything worthwhile on this thread. So I figured it out myself

Here is what you need to do.

The first object that you place in widget should be Canvas Panel.

then you can easily use other widgets(text, button, image etc) with custom dimensions.

to thank me, please Subscribe my youtube channel http://www.youtube.com/c/SamyakAgarkar/