renderWindow.SetSize() limits?

Just adding a bit more detail: the Qt QScreen class has a property called availableGeometry that provides the maximum size available for top-level windows. I’ve used availableGeometry in my own applications and it works well. VTK itself has no such method.