Floating Behavior (floatingBehavior)

The Floating Behavior property controls the sizing behavior of the parent box when the node floats (sets X or Y).

This property is relevant only if the X or Y property is set.

Type: Enum.

Valid values:

  • enclosed - The parent sizes itself so that this object is enclosed in the parent. The node can still float outside of the parent using negative values for X or Y.
  • free - The parent ignores this node during sizing, allowing it to float outside of its bounds.

Default value: enclosed.

You can find the Floating Behavior property in the Layout category of the Properties view.