maxCount property
Controls the maximum number of buttons (including predefined and custom buttons) to be displayed in the menu bar (toolbar).
When the number of buttons exceeds the maxCount
limit, a "More" button will appear.
Clicking on it will display a panel showing other buttons that cannot be displayed in the menu bar (toolbar).
Implementation
int maxCount;