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

Author Topic: contents distorted when the window is resized  (Read 1379 times)

0 Members and 1 Guest are viewing this topic.

blueeyedlion

  • Jr. Member
  • **
  • Posts: 61
    • View Profile
contents distorted when the window is resized
« on: July 06, 2011, 04:27:44 am »
When I resize my window, its contents are horribly distorted.  How do I get the contents to remain unchanged and show a bit more space at the bottom right?

Laurent

  • Administrator
  • Hero Member
  • *****
  • Posts: 32504
    • View Profile
    • SFML's website
    • Email
contents distorted when the window is resized
« Reply #1 on: July 06, 2011, 07:56:46 am »
Catch the Resized event and adjust the window's view to the new size (by default it always keeps the original size, thus enlarging the contents instead of showing a bigger area).
Laurent Gomila - SFML developer