Frame:SetWidth()

From Riftui Wiki

Jump to: navigation, search

Sets the width of the frame to the given value.

Contents

Signature

frame:SetWidth(width)

Parameters

width (number) - The width to be set.

Return Value

None

Example

local context = UI.CreateContext("SampleContext")
local frame = UI.CreateFrame("Frame", "SampleFrame", context)
-- Set Width to 1200 --
frame:SetWidth(1200)
Personal tools
Namespaces
Variants
Actions
Menu
Wiki
Toolbox