Expand dhtmlxtoolbar to 2 lines when container is too small

Is there a way to have dhtmlx sense there is too little room to fit all object on a line and then expand to 2 lines, or have an event that fires, so I can possible hide the text in order to make the size of each object smaller. I’m trying to accommodate users wanting to run in a smaller resolution when using a projector.

You can just build 2 toolbars.