Fandom

WoWWiki

API Frame SetMaxResize

104,642pages on
this wiki
Add New Page
Talk0 Share

Ad blocker interference detected!


Wikia is a free-to-use site that makes money from advertising. We have a modified experience for viewers using ad blockers

Wikia is not accessible if you’ve made further modifications. Remove the custom ad blocker rule(s) and the page will load as expected.

Widget API ← Frame < SetMaxResize

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.

Also on Fandom

Random Wiki