Windows resizing to keep aspect ratio

When resizing window, the ability to keep aspect ratio without black bars. Resizing will be fixed windows sizes

Similar to resizing the windows as in playing videos with Quicktime