A plugin to easily resize ui elements
- Resize on the horizontal axis
- Resize on the vertical axis
- Resize on both axis
- Specify a maximum or minimal limit
- Download the latest release
- Extract
- Copy the
addons/drag_to_resize
folder into your project's addons folder. - In your project settings, enable the
DragtoResize
plugin. - Add the NodeResizer to your scene and set it up
- Set the
NodeResizer.node_to_resize
to the node you want to resize. You need a script to do this. See theexample.gd
- Specify the maximum and minimum size allowed (Setting them to 0 disable the limits)
- Specify in which axes is the node allowed to grow
NodeResizer
is aTextureButton
, give it the icon you want.
Check the example.tscn scene.