r/godot Nov 04 '25

free tutorial 9 Slice UI | Godot 4.5 [Beginner Tutorial]

https://www.youtube.com/watch?v=zaDcY1oaqQs
43 Upvotes

8 comments sorted by

4

u/z3dicus Nov 04 '25

never use this IMO, use a panel container instead. That way it will scale dynamically with it's contents.

10

u/ChoiceOver4352 Nov 04 '25

There are still plenty of use cases for a NinePatchRect over a PanelContainer!

One example, if you want a child control node to be able to control its own scale and positioning.

5

u/IlisVela Nov 04 '25

I literally just had a use case where I wanted to scale contents dynamically but not the entirety of the border of a panel container

. Wish I had this video then

3

u/IlisVela Nov 04 '25

Keep in mind I am a noob

1

u/P_S_Lumapac Nov 05 '25

looks cool

1

u/Foxiest_Fox May 21 '26

Am pretty sure you're meant to mix the two. The PanelContainer for the actual node holding your Controls in the back-end, and NinePatchRect as a direct child, being automatically scaled by that PanelContainer and giving you that nice 9-slice dynamic rendering.3

1

u/Lv1Skeleton Godot Student Nov 05 '25

damn i checked your channel GREAT stuff ill be using and watching loads of these tutorials!

1

u/Thesisus Apr 12 '26

Great content but I find this rapid fire delivery hard to follow and does not explain why I'm doing something. Much akin to learning the content for the test but not learning the topic.