Widget API: Frame:SetMinResize

Revision as of 04:23, 2 December 2007 by WoWWiki>Pcj

Widget API ← Frame < SetMinResize

Specifies the minimum width and height that the object can be resized to.

obj:SetMinResize(minWidth,minHeight);

Arguments
minWidth
The minimum width the object can be resized to.
minHeight
The minimum height the object can be resized to.

Returns
nil

Example
myAddonFrame:SetMinResize(8,8);
Result
The frame named 'myAddonFrame' could only be resized by the user to a minimum width of 8 and a maximum height of 8.

Description
Specifies the minimum width and height that the object can be resized to.