Welcome,
Guest
. Please
login
or
register
. Did you miss your
activation email?
French forum
Home
Help
Search
Login
Register
SFML community forums
»
Help
»
Graphics
»
Setting maximum/minimum size for window
Print
Pages: [
1
]
Author
Topic: Setting maximum/minimum size for window (Read 2706 times)
0 Members and 1 Guest are viewing this topic.
kuraigu
Newbie
Posts: 3
Setting maximum/minimum size for window
«
on:
February 10, 2018, 10:36:55 am »
How do I prevent the user from resizing the window below the minimum size or above the maximum size?
Logged
eXpl0it3r
SFML Team
Hero Member
Posts: 11030
Re: Setting maximum/minimum size for window
«
Reply #1 on:
February 10, 2018, 10:45:46 am »
Handle the resize event and adjust the window size accordingly.
Logged
Official FAQ:
https://www.sfml-dev.org/faq.php
Official Discord Server:
https://discord.gg/nr4X7Fh
——————————————————————
Dev Blog:
https://duerrenberger.dev/blog/
Print
Pages: [
1
]
SFML community forums
»
Help
»
Graphics
»
Setting maximum/minimum size for window
anything