WoW:API Region SetHeight: Difference between revisions
Jump to navigation
Jump to search
SetHeight -Documentation by Omnigrok-
mNo edit summary |
(Changing Aerobrain to Omnigrok (user switched handles)) |
||
Line 1: | Line 1: | ||
<center>'''SetHeight''' ''-Documentation by [[ | <center>'''SetHeight''' ''-Documentation by [[User:Omnigrok|Omnigrok]]-''</center> | ||
Sets the desired height of a frame-based object. | Sets the desired height of a frame-based object. |
Revision as of 18:01, 15 May 2006
Sets the desired height of a frame-based object.
obj:SetHeight(height);
- Arguments
- height
- 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.
- Returns
- nil
- 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.
- Description
- Sets the height of a frame-based object.