SFML community forums

Help => Graphics => Topic started by: akash_pradhan on December 09, 2014, 08:30:05 pm

Title: Stopping resizing components on sf::RenderWindow Resizing
Post by: akash_pradhan on December 09, 2014, 08:30:05 pm
I have certain components - mostly sf::Shape, sf::Text and sf::Sprite which automatically get scaled and stretched out when sf::RenderWindow is resized/maximised.
I would like to stop the auto-resizing of these components i.e. even if the window size changes, I would like shapes, texts and textures to be of the same shape and size. Is it possible to achieve this in anyway?
Title: Re: Stopping resizing components on sf::RenderWindow Resizing
Post by: eXpl0it3r on December 09, 2014, 08:36:38 pm
Read the official tutorials: http://sfml-dev.org/tutorials/2.1/graphics-view.php