Skip to content
OliverF edited this page Feb 25, 2014 · 1 revision

Sets the size of the control.

Syntax

nil control:SetSize(number width, number height)

Returns

  1. nil

Arguments

  1. number width
    Width of the control in pixels
  2. number height
    Height of the control in pixels

Example

local label = RSAS.GUI.Control("label", "myLabelID")
label:SetSize(10, 10)

Clone this wiki locally