Flood.GUI.Controls.Label.Label C# (CSharp) Method

Label() public method

Initializes a new instance of the Label class.
public Label ( Control parent ) : System
parent Control Parent control.
return System
        public Label(Control parent)
            : base(parent)
        {
            m_Text = new Text(this);
            //m_Text.Font = Skin.DefaultFont;

            MouseInputEnabled = false;
            SetSize(100, 10);
            Alignment = Pos.Left | Pos.Top;

            m_AutoSizeToContents = true;
        }