Sets the maximum size of the palette. The user cannot resize it to be larger than this size. This does not change the current size of the palette unless the palette is already larger than this size.
Calling this method and setting the width and height to zero, removes the maximum size restriction.
"textCommandPalette_var" is a variable referencing a TextCommandPalette object.
|
"textCommandPalette_var" is a variable referencing a TextCommandPalette object.
|
Type | Description |
boolean | Returns true if setting the maximum size was succesful. |
Name | Type | Description |
width | integer | Specifies the maximum width of the palette. |
height | integer | Specifies the maximum height of the palette. |