On Mac I usually just double click somewhere in the title bar on a window to make it automatically size to fill up the whole screen, seems to work like a charm every time. Note, I’m not talking about the full screen mode which is something different.