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 not relevant if x or y are not set.

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

The valid values are;

  • enclosed - will make the parent size itself so that this object will be enclosed in the parent. All objects dragged from the toolbox or Data View have this property set to enclosed. Note that the node can still float outside of the parent using negative values for x or y. A
  • free - will make the parent ignore this node during sizing, allowing it to float outside of its bounds.

Type: Enum. Valid values are free or enclosed.