/Engine/Source/Runtime/SlateCore/Public/Widgets/SWindow.h
Sets whether or not the viewport size should be driven by the window's size. If true, the two will be the same. If false, an independent viewport size can be specified with SetIndependentViewportSize
void SetViewportSizeDrivenByWindow ( bool bDrivenByWindow )