Frame:SetMaxResize
Jump to navigation
Jump to search
This is no longer a part of the World of Warcraft API.
|
Specifies the maximum width and height that the object can be resized to.
frame:SetMaxResize(maxWidth,maxHeight);
Arguments
- maxWidth
- number - The maximum width the object can be resized to.
- maxHeight
- number - The maximum height the object can be resized to.
Example
frame:SetResizable(true) frame:SetMaxResize(320,240)
Patch changes
- Patch 10.0.0 (2022-10-25): Replaced with Frame:SetResizeBounds().