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.

In the Properties view, this property is the Floating Behavior property in the Layout category.

Type: Enum.

Valid values are:

  • enclosed - The parent sizes itself so that this object is enclosed in the parent. All objects dragged from the Toolbox or Data View have Floating Behavior set to enclosed. Note that 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.