# FlexPanelProps

Version: 0.5.0
Framework commit: d503df2befa756e681fcdc6250e9552dc7388bea
Canonical URL: /docs/0.5.0/api/ferroui-view/generated/builders/trait-flexpanelprops/

**trait** · [`ferroui-view`](/docs/0.5.0/api/ferroui-view/) · v0.5.0

```rust
trait FlexPanelProps: ElementBuilder
```

The properties and routed events of `FlexPanel`.

[View source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.View/generated/builders.rs#L3985)

## Members

- [`direction`](#function-direction)
- [`justify_content`](#function-justify_content)
- [`align_items`](#function-align_items)
- [`align_content`](#function-align_content)
- [`wrap`](#function-wrap)
- [`column_spacing`](#function-column_spacing)
- [`row_spacing`](#function-row_spacing)

<a id="function-direction"></a>

### direction

```rust
fn direction<M>(self: Self, value: impl IntoProp<ferroui_controls::FlexDirection, M>) -> Self
```

Sets `FlexPanel::direction_property`.

[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.View/generated/builders.rs#L3987)

<a id="function-justify_content"></a>

### justify_content

```rust
fn justify_content<M>(self: Self, value: impl IntoProp<ferroui_controls::FlexJustifyContent, M>) -> Self
```

Sets `FlexPanel::justify_content_property`.

[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.View/generated/builders.rs#L3992)

<a id="function-align_items"></a>

### align_items

```rust
fn align_items<M>(self: Self, value: impl IntoProp<ferroui_controls::FlexAlignItems, M>) -> Self
```

Sets `FlexPanel::align_items_property`.

[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.View/generated/builders.rs#L3997)

<a id="function-align_content"></a>

### align_content

```rust
fn align_content<M>(self: Self, value: impl IntoProp<ferroui_controls::FlexAlignContent, M>) -> Self
```

Sets `FlexPanel::align_content_property`.

[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.View/generated/builders.rs#L4002)

<a id="function-wrap"></a>

### wrap

```rust
fn wrap<M>(self: Self, value: impl IntoProp<ferroui_controls::FlexWrap, M>) -> Self
```

Sets `FlexPanel::wrap_property`.

[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.View/generated/builders.rs#L4007)

<a id="function-column_spacing"></a>

### column_spacing

```rust
fn column_spacing<M>(self: Self, value: impl IntoProp<f64, M>) -> Self
```

Sets `FlexPanel::column_spacing_property`.

[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.View/generated/builders.rs#L4012)

<a id="function-row_spacing"></a>

### row_spacing

```rust
fn row_spacing<M>(self: Self, value: impl IntoProp<f64, M>) -> Self
```

Sets `FlexPanel::row_spacing_property`.

[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.View/generated/builders.rs#L4017)

## Trait implementations

- [`FlexPanelProps`](/docs/0.5.0/api/ferroui-view/generated/builders/trait-flexpanelprops/)

## Availability

Extracted for `aarch64-apple-darwin`. Cargo features are listed in the [crate index](/docs/0.5.0/api/).
