Welcome,
Guest
. Please
login
or
register
. Did you miss your
activation email?
French forum
Home
Help
Search
Login
Register
SFML community forums
»
Help
»
Graphics
»
contents distorted when the window is resized
Print
Pages: [
1
]
Author
Topic: contents distorted when the window is resized (Read 1721 times)
0 Members and 1 Guest are viewing this topic.
blueeyedlion
Jr. Member
Posts: 61
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?
Logged
Laurent
Administrator
Hero Member
Posts: 32498
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).
Logged
Laurent Gomila - SFML developer
Print
Pages: [
1
]
SFML community forums
»
Help
»
Graphics
»
contents distorted when the window is resized