# `FlowViewAlignment`

*Enumeration*

Controls how subviews are positioned horizontally within each row.

## Declaration

```swift
enum FlowViewAlignment
```

```objc
enum FlowViewAlignment : NSInteger;
```

```python
FlowViewAlignment
```

## Topics

### Enumeration Cases

- [`FlowViewAlignment.FlowViewAlignmentCenter`](/Core/GlyphsKit/FlowViewAlignment/FlowViewAlignmentCenter) — Each row is centered horizontally within the available width.
- [`FlowViewAlignment.FlowViewAlignmentJustified`](/Core/GlyphsKit/FlowViewAlignment/FlowViewAlignmentJustified) — Slack space is distributed across each full row. Views whose horizontal content-hugging priority is below NSLayoutPriorityDefaultHigh (750) are stretched to absorb the slack. If no view on the row is stretchable the slack is distributed as extra gap between views instead. The last (incomplete) row always falls back to leading alignment.
- [`FlowViewAlignment.FlowViewAlignmentLeading`](/Core/GlyphsKit/FlowViewAlignment/FlowViewAlignmentLeading) — Subviews are packed toward the leading edge. (Default)

