Wikia

WoWWiki

API Frame SetMaxResize

Talk0
101,502pages on
this wiki
Revision as of 23:49, July 14, 2008 by Charibot (Talk | contribs)

(diff) ←Older revision | Latest revision (diff) | Newer revision → (diff)
Widget API


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

obj:SetMaxResize(maxWidth,maxHeight);

Arguments
maxWidth 
The maximum width the object can be resized to.
maxHeight 
The maximum height the object can be resized to.

Returns
nil

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

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

Around Wikia's network

Random Wiki