ClydeJr10486@legacy41531612 (talk | contribs) (Changing Aerobrain to Omnigrok (user switched handles)) |
Charibot@legacy41530750 (talk | contribs) m (catfix, Replaced: {{widgetmethod}}<br> → {{widgetmethod}}) |
||
(4 intermediate revisions by 4 users not shown) | |||
Line 1: | Line 1: | ||
+ | {{widgetmethod}} |
||
− | <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. |
||
Line 27: | Line 27: | ||
: Sets the height of a frame-based object. |
: Sets the height of a frame-based object. |
||
− | |||
− | ---- |
||
− | {{Template:WoW API}} |
Revision as of 23:49, 14 July 2008
The API is no longer being updated here until further notice. |
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.