# Client Window Size

**URL:** <https://forum.servoy.com/t/client-window-size/6266>\
**Category:** Classic Servoy\
**Created:** [July 25, 2006, 4:41am UTC](https://forum.servoy.com/t/client-window-size/6266 "2006-07-25T04:41:05Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![prj311](https://avatars.discourse-cdn.com/v4/letter/p/85f322/32.png) [@prj311](https://forum.servoy.com/u/prj311)\
**Post date:** [July 25, 2006, 4:41am UTC](https://forum.servoy.com/t/client-window-size/6266/1 "2006-07-25T04:41:05Z")

</div>

Hi,  
I would like to set the servoy client to start with a certain window size, is there a way to overide the standard window size?  
PR

---

<div class="post-metadata">

**Author:** ![Joas](https://yyz2.discourse-cdn.com/flex010/user_avatar/forum.servoy.com/joas/32/5095_2.png) [@Joas](https://forum.servoy.com/u/Joas)\
**Post date:** [July 25, 2006, 6:53am UTC](https://forum.servoy.com/t/client-window-size/6266/2 "2006-07-25T06:53:14Z")

</div>

You can use ‘application.setWindowSize(width, height)’ to set the window size

---

<div class="post-metadata">

**Author:** ![prj311](https://avatars.discourse-cdn.com/v4/letter/p/85f322/32.png) [@prj311](https://forum.servoy.com/u/prj311)\
**Post date:** [July 25, 2006, 7:19am UTC](https://forum.servoy.com/t/client-window-size/6266/3 "2006-07-25T07:19:24Z")

</div>

Many thanks

---

<div class="post-metadata">

**Author:** ![grahamg](https://avatars.discourse-cdn.com/v4/letter/g/a4c791/32.png) [@grahamg](https://forum.servoy.com/u/grahamg)\
**Post date:** [July 25, 2006, 8:02am UTC](https://forum.servoy.com/t/client-window-size/6266/4 "2006-07-25T08:02:24Z")

</div>

If you use

controller.show()  
application.setWindowSize(-1, -1)  
application.setWindowLocation(-1, -1)

Servoy will automagically make the window the same size as your Form and centre it on the screen.

Graham Greensall  
Worxinfo Ltd
