# size of a window min/max

**URL:** <https://forum.servoy.com/t/size-of-a-window-min-max/1065>\
**Category:** Classic Servoy\
**Created:** [January 21, 2004, 11:52am UTC](https://forum.servoy.com/t/size-of-a-window-min-max/1065 "2004-01-21T11:52:55Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![IT2Be](https://avatars.discourse-cdn.com/v4/letter/i/dc4da7/32.png) [@IT2Be](https://forum.servoy.com/u/IT2Be)\
**Post date:** [January 21, 2004, 11:52am UTC](https://forum.servoy.com/t/size-of-a-window-min-max/1065/1 "2004-01-21T11:52:55Z")

</div>

This is either a feature request or a ‘how to?’

When I show a form (mainly as a dialog) I want to be able to bind the width of the form to a maximum. I can do this by setting the resize property to false but this will also bind the height…

I also want the form to have a minimum/maximum width and a minimum/maximum height. Some of the forms I have have different heights depending on their content and I want the user to be able to ‘stretch’ the dialog but only to another height, not another width…

Is this possible or is it possible to make this available?

---

<div class="post-metadata">

**Author:** ![IT2Be](https://avatars.discourse-cdn.com/v4/letter/i/dc4da7/32.png) [@IT2Be](https://forum.servoy.com/u/IT2Be)\
**Post date:** [January 21, 2004, 12:08pm UTC](https://forum.servoy.com/t/size-of-a-window-min-max/1065/2 "2004-01-21T12:08:21Z")

</div>

OK, maybe it’s even a bug ![:?]( "Confused")

When I have the form size set I can’t make the dialog any bigger than that exact same size. This is really ok… At least when there is no tabpanel on that form…

When I have a tabpanel on that form it doesn’t matter if I set the anchors or not, the dialog resizes to whatever width/height wanted by the user… I would want/expect that the dialog resizes based on the anchors set for the tabpanel in this case…

---

<div class="post-metadata">

**Author:** ![Jan\_Blok](https://avatars.discourse-cdn.com/v4/letter/j/41988e/32.png) [@Jan\_Blok](https://forum.servoy.com/u/Jan_Blok)\
**Post date:** [February 5, 2004, 12:16pm UTC](https://forum.servoy.com/t/size-of-a-window-min-max/1065/3 "2004-02-05T12:16:23Z")

</div>

We will lookinto this.
