allow enforcing minimum maximum size of windows, content resizing

Signed-off-by: Kai Börnert <kai-boernert@visiongamestudios.de>