The toolbar doesn't seem to be fully resizable in "edit layout" mode, you can just make it shorter or longer, but this just makes the shortcuts tiny.