Skip to main content

VerticalDivider

A thin vertical line, with padding on either side.

In the material design language, this represents a divider.

Examples

Live example

python/controls/layout/vertical-divider/divider-vert.py
loading...

Properties

color

The color to use when painting the line.

leading_indent

The amount of empty space to the leading edge of the divider.

Defaults to 0.0.

thickness

The thickness of the line drawn within the divider. A divider with a thickness of 0.0 is always drawn as a line with a width of exactly one device pixel.

Defaults to 0.0.

trailing_indent

The amount of empty space to the trailing edge of the divider.

Defaults to 0.0.

width

The divider's width. The divider itself is always drawn as a vertical line that is centered within the width specified by this value. I

Defaults to 16.0.