How can I have a vertical toggle button?

Thanks for your response I’ve checked it before the rotation on tool bar is gray( inactive)