maxWidth | |||||||
Type | property | ||||||
Dictionary | LCS | ||||||
Library | LiveCode Script | ||||||
Syntax |
| ||||||
Associations | stack | ||||||
Summary | Specifies how wide a stack window can be made when it's resized. | ||||||
Introduced | 1.0 | ||||||
OS | mac, windows, linux, ios, android | ||||||
Platforms | desktop, server, mobile | ||||||
Example |
| ||||||
Values |
| ||||||
Related | 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 | ||||||
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 is the maximum width in pixels. The width does not include the window's borders. The maxWidth property does not prevent a handler from changing the stack's width property (or related properties such as the rectangle). It affects only user actions. If you set the stack's width to a value greater than the maxWidth, it is reset to the maxWidth when you close and reopen the stack. If the stack's resizable property is false, the setting of this property has no effect.
| ||||||
Tags | windowing |