WoW:API Frame SetMinResize: Difference between revisions

From AddOn Studio
Jump to navigation Jump to search
({{widgetmethod}})
m (Move page script moved page API Frame SetMinResize to API Frame SetMinResize without leaving a redirect)
 
(One intermediate revision by one other user not shown)
Line 1: Line 1:
{{widgetmethod}}
{{widgetmethod}}
<center>'''SetMinResize''' ''-Documentation by [[User:Omnigrok|Omnigrok]]-''</center>


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.

Latest revision as of 04:45, 15 August 2023

Widget API ← Frame < SetMinResize

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.