Frame:SetMaxResize

From Warcraft Wiki
Jump to navigation Jump to search

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