setDialogMinMax

Syntax

setDialogMinMax(int minX, int minY, int maxX, int maxY)

Arguments

minX
The minimum width (in DBUs) the filter dialog can be resized to
minY
The minimum height (in DBUs) the filter dialog can be resized to
maxX
The maximum width (in DBUs) the filter dialog can be resized to
maxY
The maximum height (in DBUs) the filter dialog can be resized to

Description

Sets the minimum and maximum width/height that the filter dialog can be resized to.

Example

// Prevent dialog resizing by setting both minimum & maximum to the current dialog size
setDialogMinMax( getDialogWidth(), getDialogHeight(), getDialogWidth(), getDialogHeight() );

Also see

getDialogWidth, getDialogHeight

Comments

Everyone can add his comments about his experiences with this function here. Tips for using it are welcome, too.