Palette.setMinimumSize Method

Parent Object: Palette
Defined in namespace "adsk::core" and the header file is <Core/UserInterface/Palette.h>

Description

Sets the minimum size of the palette. The user cannot resize it to be smaller than this size. This does not change the current size of the palette unless the palette is already smaller than this size.

Calling this method and setting the width and height to zero, removes the minimum size restriction.

Syntax

"palette_var" is a variable referencing a Palette object.
returnValue = palette_var.setMinimumSize(width, height)
"palette_var" is a variable referencing a Palette object.

#include <Core/UserInterface/Palette.h>

returnValue = palette_var->setMinimumSize(width, height);

Return Value

Type Description
boolean Returns true if setting the minimum size was successful.

Parameters

Name Type Description
width integer Specifies the minimum width of the palette.
height integer Specifies the minimum height of the palette.

Version

Introduced in version May 2017