[EDITED] Resize the whole Userinterface, which is made with control nodes

:information_source: Attention Topic was automatically imported from the old Question2Answer platform.
:bust_in_silhouette: Asked By Godot_Starter

How can I resize every Controlnode, so that everything is bigger but still on the screen, and so that the whole Controlstructer still works like before?

So I search something wich does the something like the scale property in a Node2d.
But the rect->scale property in a control node effects that things get out of the screen, which isnt good in userinterfaces.

Example: Question Scale Control Nodes — Postimages

If you need more informations, please write this, to.

I recommend looking into the anchor properties. Using them, you can tell a Control node how large it should be proportional to the size and location of its parent Control node.

DDoop | 2020-07-19 19:48

Please post some images.

JimArtificer | 2020-07-19 20:00

The anchor just tells the Controlnodes how it changes on different devices/monitors, but my case is different, because I just want to make it bigger forever (please tell me, if I misunderstood something)

Godot_Starter | 2020-07-19 20:46

@JimArtificer How can I add a image from my computer to this question?

Godot_Starter | 2020-07-19 20:51

:bust_in_silhouette: Reply From: Calinou

Scaling Control nodes is mainly intended to be done for animation purposes. To scale a project to multiple resolutions, use the 2d stretch mode as explained in Multiple resolutions.

:bust_in_silhouette: Reply From: Sakaki

If they are set properly, you can go to Size Flags and play with the Fill and Expand flags. Then you can increase the topmost Control.rect_size and the children will scale accordingly. This works well when using Containers.