API Region SetSize

Sets the desired width and height of a, relative to its own.

Region:SetWidth(width) Region:SetHeight(height) Region:SetSize(width, height)

Arguments

 * width : Number - The desired height of a frame, taking into account its scaling
 * height : Number - The desired width ofa frame, taking into account its scaling

Example
myAddonOptionsParent = myAddonOptions:GetParent; myAddonOptions:SetHeight(myAddonOptionsParent:GetHeight / 2);


 * Result
 * The frame named 'myAddonOptions' would be set to half the height of its parent frame.