WoW:API Region SetWidth

From AddOn Studio
Revision as of 18:40, 10 December 2004 by WoWWiki>AeroBrain
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search
SetWidth -Documentation by AeroBrain-

Sets the width of a frame-based object.

obj:SetWidth(width);

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

Returns
nil

Example
myAddonOptionsParent = myAddonOptions:GetParent();
myAddonOptions:SetWidth(myAddonOptionsParent:GetWidth() / 2);
Result
The frame named 'myAddonOptions' would be set to half the width of its parent frame.

Description
Sets the width of a frame-based object.

Template:WoW API