Specifies how wide a stack window can be made when it's resized.
# Metadata
Platforms: desktop, server, mobile OS: mac, windows, linux, ios, android Introduced: 1.0 Security:
# Syntax
set the maxWidth of stack to pixels
# Examples
set the maxWidth of the defaultStack to 300
set the maxWidth of stack "Prefs" to the height of stack "Prefs"
# Description
Use the maxWidth property if you want the user to be able to resize the stack window, but no larger than a width you choose.
The maxWidth property does not prevent a handler from changing the stack width property (or related properties such as the rectangle). It affects only user actions. If you set the stack width to a value greater than the maxWidth, it is reset to the maxWidth when you close and reopen the stack.
>*Note:* The current architecture uses 16-bit signed integers for all > co-ordinates, which means that the value range is -32768 to 32767.
# Tags
# See
- **property:** pixels, minWidth, width, maxHeight, resizable, properties, windowBoundingRect - **message:** resizeStack - **keyword:** rectangle, integer - **glossary:** property, handler, stack window - **function:** value, stacks - **command:** reset - **object:** stack