My original screen size is 256x240 and it scales nicely when the window has the same aspect ratio(512x480, for example)
But when I change window size to 640x480, it scales pretty badly(notice that text doesn't scale at all, which is another problem connected to this because it scales when window is resized during runtime)
What I want to have is this:
How can I achieve this? I realize that this has something to do with sf::View's setViewport() function, but I can't figure out how to use it.