[ #29585 ] Add a flexible layout system for the toolbar