Widget API: Region:SetHeight
Jump to navigation Jump to search
Sets the desired height of a frame-based object.
- The desired height to set the frame-based object to (use 0 to clear the desired height). Note that a frame whose height is determined based on its anchors will not use this height.
myAddonOptionsParent = myAddonOptions:GetParent(); myAddonOptions:SetHeight(myAddonOptionsParent:GetHeight() / 2);
- The frame named 'myAddonOptions' would be set to half the height of its parent frame.
- Sets the height of a frame-based object.