Contents

Displaying Components Side By Side

Configure a side-by-side, horizontal arrangement of components for your article.

Overview

In Apple News Format, you can display child components of Container, Chapter, Section, and Aside, side by side and horizontally by using the contentDisplay type HorizontalStackDisplay. The child components are sized to match the minimumWidth and maximumWidth values defined in the ComponentLayout object of these components. To redistribute the empty space inside a horizontal stack collection, use the FlexibleSpacer object. This object provides flexible space between components in a container only when its contentDisplay value is set to horizontal_stack.

See Also

Article Structure