WoW:API Frame SetMaxResize: Difference between revisions

From AddOn Studio
Jump to navigation Jump to search
No edit summary
 
m (Move page script moved page API Frame SetMaxResize to API Frame SetMaxResize without leaving a redirect)
 
(5 intermediate revisions by 5 users not shown)
Line 1: Line 1:
<center>'''SetMaxResize''' ''-Documentation by [[AeroBrain]]-''</center>
{{widgetmethod}}


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.
Line 27: Line 27:


: 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.
----
{{Template:WoW API}}

Latest revision as of 04:45, 15 August 2023

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.