set flex attribute to toolbox element. this will stretch its contents if container behaves as flex item