I would like my view to grow as my window grows. That's why I reset the viewport on resize.
However, it seems that when I do, the edges are very rigid and uneven. I think this is because the view happens to be bigger than the actual window.
When I call a method
setWindowSize(320, 320);
which calls RenderWindow.SetSize(320,320), there ends up being a border on the right and bottom side of extra empty space. Does this have anything to do with the window's border? Here's the full code:
setWindowSize(uint width,uint height){
renderWin.GetView().Viewport = (new SFML.Graphics.FloatRect(0.0f, 0.0f, width, height));
renderWin.SetSize(width, height);
}