Divider

The Divider widget is a horizontal line that is used to visually separate widgets. For example, you could use it when displaying a list of products and messages and separating a header section from the content section of a page, etc.

Adding Divider widget

Here's how you add the Divider widget to your project:

  1. First, add the Divider widget.

  2. See how to customize its appearance by using its properties.

Customizing

You can customize the appearance and behavior of this widget using the various properties available under the properties panel.

Changing height and thickness

To change the height and thickness of the Divider:

  1. Select the Divider widget > move the Properties Panel > Divider Properties.

  2. Find the Height property and enter the value to change the height of an overall Divider.

  3. Now, find the Thickness property (next to the Height property) and enter the value.

Choosing line style

To customize the divider style, select the Divider widget > move the Properties Panel > Divider Properties > choose the Line Style.

This property accepts one of the following values:

  • Solid: creates a solid line.

  • Dotted: creates a dotted line.

  • Dashed: creates a dashed line.

  • Dashdotted: creates a pattern of alternate dashes and dots.

Changing the color

To change the color, select the Divider widget > move the Properties Panel > Divider Properties > use the Color property.

Set color dynamically

See how to set a color from variable to any color property of this widget.

Adjust left and right padding

Sometimes you might want to add a little padding around Divider. Using the Indent and End-Indent properties, you can add left and right padding.

To add left and right padding:

  1. Select the Divider widget > move the Properties Panel > Divider Properties.

  2. Find the Indent property and enter the value. This will add left padding to the Divider.

  3. Similarly, set the End-Indent property to add the right padding on Divider.

Controlling width

To control the width of the divider, select the Divider widget > move the Properties Panel > Divider Properties > use the Width property.

Show/Hide widget

See how to show or hide any widget using the Conditional Visibility property.

Responsive Visibility

See how to add responsive visibility to any widget.

Last updated