Layout

Fixed Size Modifier

The Fixed Size modifier fixes a layer’s size to specific dimensions.

Overview

The Fixed Size modifier takes two parameters:

  • Horizontal - A Boolean value that indicates whether to fix the width of the layer.
  • Vertical - A Boolean value that indicates whether to fix the height of the layer.

In the layer hierarchy, every layer proposes a size to each child layer it contains and the child layer wraps or truncates as needed. You can override this behavior by placing the Fixed Size modifier on the child.

Take, for instance, this Text layer. By default, it has wrapped its text to remain within its parent’s bounds. However, by applying the Fixed Size modifier Horizontally, the text won’t wrap to try to fit in the frame of its parent.

Resources

Videos

No items found.

Ask Our Community

If you have questions about the Judo editor, or developer questions about SDK integration, join the community and start a conversation!