Sets the width of a frame-based object.
- The width to set the frame-based object to (use 0 to clear the desired width). Note that a frame whose width is determined based on its anchors will not use this width.
myAddonOptionsParent = myAddonOptions:GetParent(); myAddonOptions:SetWidth(myAddonOptionsParent:GetWidth() / 2);
- The frame named 'myAddonOptions' would be set to half the width of its parent frame.
- Sets the width of a frame-based object.
Community content is available under CC-BY-SA unless otherwise noted.