Figured it out. I removed the Qt::<align> option and it now fills the window.