Horizontal Flow Container 2D screenshot 1
B

Publisher

brassphoenix

Horizontal Flow Container 2D

2D
Container Layout UI Customizable ScrollContainer Margin Children 2D

A container that lays out it's children on a horizontal row according to their minimum sizes. When it can't fit another, 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. The container does (currently) not support: - Child scaling. - Child rotating. - Child Size ...

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)