Appearance
The Kendo UI for Vue Toolbar allows selecting a predefined size and fill mode options that changes its appearance.
Size
To change the default size of the Toolbar, set its size property which will change the padding of the Toolbar element. The available size options are:
small—sets the padding of the component to 4px 4pxmedium(default)—sets the padding of the component to 8px 8pxlarge—sets the padding of the component to 10px 10pxnull—removes the styling related to the Toolbar sizing option
The following example demonstrates how to define the Toolbar size:
Fill Mode
To change the default fill mode of the Toolbar, set its fillMode property. It accepts the following values:
solid(default)—Applies abackgroundcolor andsolid borders.flat—Sets atransparent backgroundandsolid bottom border.outline—Sets atransparent backgroundandsolid borders.null—This option removes the built-in fill mode styles of the Toolbar. Allows for custombackgroundandborderstyles.
The
fillModeproperty only affects the appearance of the ToolBar component and does not propagate to theToolBar tools. Each ToolBar tool has a dedicatedfillModeproperty that can be defined individually.
The following example demonstrates how to set fillMode only for the Toolbar component itself and how to set fillMode for both Toolbar and it's underlying tools.