WoW:API Region SetHeight

Revision as of 18:38, 10 December 2004 by WoWWiki>AeroBrain
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
SetHeight -Documentation by AeroBrain-

Sets the height of a frame-based object.

obj:SetHeight(height);

Arguments
height
The height to set the frame-based object to.

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.

Template:WoW API