Adaptive Rendering
The Toolbar uses its overflow option to handle tools that do not fit the available width. It supports none, scroll, and section. Set none to keep all tools in the Toolbar without overflow handling.
To enable adaptive overflow, select one of these modes:
Scroll Mode
The Toolbar keeps its tools available through horizontal scrolling when they do not fit in the available width.
To enable scroll mode, set the overflow property to scroll.
In scroll mode, you can configure these options:
scrollButtons—Determines when the Toolbar displays scroll buttons. The default value isauto.scrollButtonsPosition—Allows customizing the position of the scroll buttons. The default value issplit.buttonScrollSpeed—Sets how many pixels the Toolbar scrolls when users click a scroll button. The default value is100pixels.
The following example demonstrates how to make the Toolbar tools scrollable.
Section Mode
The Toolbar moves tools that do not fit its available width into an overflow section. To enable section mode, set the overflow property to section.
The following example demonstrates how to render overflowing Toolbar tools in a popup using their initial components and layout.