Welcome, Guest. Please login or register. Did you miss your activation email?

Author Topic: Stopping resizing components on sf::RenderWindow Resizing  (Read 1529 times)

0 Members and 1 Guest are viewing this topic.

akash_pradhan

  • Newbie
  • *
  • Posts: 1
    • View Profile
Stopping resizing components on sf::RenderWindow Resizing
« 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?

eXpl0it3r

  • SFML Team
  • Hero Member
  • *****
  • Posts: 11033
    • View Profile
    • development blog
    • Email
Re: Stopping resizing components on sf::RenderWindow Resizing
« Reply #1 on: December 09, 2014, 08:36:38 pm »
Official FAQ: https://www.sfml-dev.org/faq.php
Official Discord Server: https://discord.gg/nr4X7Fh
——————————————————————
Dev Blog: https://duerrenberger.dev/blog/