WoW:API Frame SetMaxResize: Difference between revisions

From AddOn Studio
Jump to navigation Jump to search
(Changing Aerobrain to Omnigrok (user switched handles))
({{widgetmethod}})
Line 1: Line 1:
{{widgetmethod}}
  <center>'''SetMaxResize''' ''-Documentation by [[User:Omnigrok|Omnigrok]]-''</center>
  <center>'''SetMaxResize''' ''-Documentation by [[User:Omnigrok|Omnigrok]]-''</center>


Line 27: Line 29:


: Specifies the maximum width and height that the object can be resized to.
: Specifies the maximum width and height that the object can be resized to.
----
{{WoW API}}

Revision as of 11:59, 10 June 2006

Widget API ← Frame < SetMaxResize

SetMaxResize -Documentation by Omnigrok-

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.