WoW:API Frame SetMinResize: 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>'''SetMinResize''' ''-Documentation by [[User:Omnigrok|Omnigrok]]-''</center>
  <center>'''SetMinResize''' ''-Documentation by [[User:Omnigrok|Omnigrok]]-''</center>


Line 27: Line 29:


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

Revision as of 11:59, 10 June 2006

Widget API ← Frame < SetMinResize

SetMinResize -Documentation by Omnigrok-

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.