Lyaaaaaaaaaaaaaaa / Godot_Drag_To_Resize

A plugin to easily resize ui elements

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Godot_Drag_To_Resize

A plugin to easily resize ui elements

Features

  • Resize on the horizontal axis

  • Resize on the vertical axis

  • Resize on both axis

  • Specify a maximum or minimal limit

How to use

  1. Download the latest release
  2. Extract
  3. Copy the addons/drag_to_resize folder into your project's addons folder.
  4. In your project settings, enable the DragtoResize plugin.
  5. Add the NodeResizer to your scene and set it up
  6. Set the NodeResizer.node_to_resize to the node you want to resize. You need a script to do this. See the example.gd
  7. Specify the maximum and minimum size allowed (Setting them to 0 disable the limits)
  8. Specify in which axes is the node allowed to grow
  9. NodeResizer is a TextureButton, give it the icon you want.

Need help?

Check the example.tscn scene.

More information:

Code of conduct

How to contribute

About

A plugin to easily resize ui elements

License:MIT License


Languages

Language:GDScript 100.0%