Angular ToolBar Appearance
The ToolBar provides predefined appearance options which allow you to set different sizes and fill modes for the component.
Since version 22.1.0, default values of the appearance properties are no longer hardcoded in the component. The default values are inherited from the Kendo theme.
For more information, refer to the Design System documentation.
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:
smallmediumlarge
The following example demonstrates how to define the ToolBar size.
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:
solidflatoutline
The
fillModeoption only affects the appearance of the ToolBar component and does not propagate to the ToolBar tools. Each ToolBar tool has a dedicatedfillModeoption that can be defined individually.
The following example demonstrates how to define a fill mode only for the ToolBar and including the ToolBar tools.