New to Kendo UI for AngularStart a free 30-day trial

Angular ToolBar Appearance

The ToolBar provides predefined appearance options which allow you to set different sizes and fill modes for the component.

Size

To change the default padding of the ToolBar component, set the size property. It accepts values of type ToolbarSize.

The size option supports the following values:

  • small—Sets the padding of the elements to 2px 8px.
  • medium (Default)—Sets the padding of the elements to 4px 8px.
  • large—Sets the padding of the elements to 6px 8px.
  • none—Removes the styling related to the ToolBar sizing option.

The following example demonstrates how to define the ToolBar size.

Change Theme
Theme
Loading ...

Fill Mode

The ToolBar allows you to set different fill modes by using the fillMode property. It accepts values of type ToolbarFillMode.

The fillMode option supports the following values:

  • solid (Default)—Sets a background color and solid borders.
  • flat—Sets transparent background and transparent borders.
  • outline—Sets a transparent background and solid borders.
  • none—The none option removes the built-in fill mode styles. Allows for custom background and border styles.

The fillMode option only affects the appearance of the ToolBar component and does not propagate to the ToolBar tools. Each ToolBar tool has a dedicated fillMode option that can be defined individually.

The following example demonstrates how to define a fill mode only for the ToolBar and including the ToolBar tools.

Change Theme
Theme
Loading ...
In this article
SizeFill ModeSuggested Links
Not finding the help you need?
Contact Support