A UI element that has a defined width and height.
The height of this element, in UI coordinate space.
-- Create a window that has a set heightlocal window = osrs.Ui.window({title = "Example Window", sizeMode = 1, height = 200})-- Add window to the canvas osrs.Ui.canvas:addChild(window) Copy
-- Create a window that has a set heightlocal window = osrs.Ui.window({title = "Example Window", sizeMode = 1, height = 200})-- Add window to the canvas osrs.Ui.canvas:addChild(window)
The width of this element, in UI coordinate space.
-- Create a window that has a set widthlocal window = osrs.Ui.window({title = "Example Window", sizeMode = 1, width = 200})-- Add window to the canvas osrs.Ui.canvas:addChild(window) Copy
-- Create a window that has a set widthlocal window = osrs.Ui.window({title = "Example Window", sizeMode = 1, width = 200})-- Add window to the canvas osrs.Ui.canvas:addChild(window)
A UI element that has a defined width and height.