public void AddItem(string label, GUIComponent item) { Items[label] = new FormEntry { Component = item, Label = new Label(GUI, this, label, GUI.DefaultFont) { Alignment = Drawer2D.Alignment.Right } }; UpdateSizes(); }