# WrapPanelProps

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

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

```rust
trait WrapPanelProps: ElementBuilder
```

The properties and routed events of `WrapPanel`.

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

## Members

- [`item_spacing`](#function-item_spacing)
- [`line_spacing`](#function-line_spacing)
- [`orientation`](#function-orientation)
- [`items_alignment`](#function-items_alignment)
- [`item_width`](#function-item_width)
- [`item_height`](#function-item_height)

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

### item_spacing

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

Sets `WrapPanel::item_spacing_property`.

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

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

### line_spacing

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

Sets `WrapPanel::line_spacing_property`.

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

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

### orientation

```rust
fn orientation<M>(self: Self, value: impl IntoProp<ferroui_base::layout::Orientation, M>) -> Self
```

Sets `WrapPanel::orientation_property`.

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

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

### items_alignment

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

Sets `WrapPanel::items_alignment_property`.

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

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

### item_width

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

Sets `WrapPanel::item_width_property`.

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

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

### item_height

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

Sets `WrapPanel::item_height_property`.

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

## Trait implementations

- [`WrapPanelProps`](/docs/0.5.0/api/ferroui-view/generated/builders/trait-wrappanelprops/)

## Availability

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