Horizontal Flow Container

by brass_phoenix

21

Horizontal Flow Container

For use in the Godot game engine.

Example Screenshot

Places it's children in a horizontal row according to their minimal size, until it can't fit the next child on the row. Then it starts a new row.

The node is called "HFlowContainer" and is a child of "Container".

Features:

  • Updates when it's width is changed.
  • Works in the editor.
  • Works in ScrollContainer.
  • Hiding children works.
  • Customizable horizontal and vertical margins between the child nodes.
  • Icon: HFLowContainer Icon

The container does (currently) not support:

  • Child scaling.
  • Child rotating.
  • Child Size Flags ("Fill", "Expand" etc.)

Changelog

  • 1.0.0: Initial release.
  • 1.0.1: Fixed "narrowing conversion" warnings.
  • 1.0.2: Works by default in ScrollContainer. (By always settting horizontal size flag to EXPAND + FILL)

Version

1.0.2

Engine

3.2

Category

2D Tools

Download

Version1.0.2
Download

Support

If you need help or have questions about this plugin, please contact the author.

Contact Author