cushy 0.4.0

A wgpu-powered graphical user interface (GUI) library with a reactive data model
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
# Container

The [`Container`][container] widget encloses a widget in a visual container.

The `Container`'s background color can be either specified explicitly, set using
a [`ContainerLevel`][container-level], or automatically selected based on the
current container level. Each container level has an associated theme color.

When using automatic container levels and the highest-level container level is
reached, the level will wrap to the lowest level.

[container]: <{{ docs }}/widgets/container/struct.Container.html>
[container-level]: <{{ docs }}/styles/enum.ContainerLevel.html>