"minimumSize","maximumSize"

Allows to define the minimum / maximum size of a shape

Synopsis

shape.minimumSize(int width, int height);

setValue(string shape, "minimumSize", int width, int height);

shape.maximumSize(int width, int height);

setValue(string shape, "maximumSize", int width, int height);

Parameters

Parameter Description
shape Name of the object
width The minimum / maximum allowed width of the shape
height The minimum / maximum allowed height of the shape

Description

Allows to define the minimum/maximum width and height of a shape.

Setting the minimum/maximum size of an object inside of Control to a value that contradicts the preliminary value ranges for minimum/maximum size set within the GEDI might cause displaying issues for panels with active layout management.

Example

Sets the maximum width and height of the shape "myShape" to 200 respectively 500 pixel.

main()
{
  setValue("myShape",200,500);
}

Assignment

All shapes