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.
"palette_var" is a variable referencing a Palette object.
|
"palette_var" is a variable referencing a Palette object.
|
Type | Description |
boolean | Returns true if setting the maximum size was successful. |
Name | Type | Description |
width | integer | Specifies the maximum width of the palette. |
height | integer | Specifies the maximum height of the palette. |