protected virtual void Awake()
        {
            instance = this;
            UIComponent parent = this.GetComponent <UIComponent>();

            CreateTitleRow(out titleLine, parent);

            TLMUtils.CreateScrollPanel(parent, out mainPanel, out UIScrollbar scrollbar, parent.width - 30, parent.height - 50, new Vector3(5, 40));
            mainPanel.autoLayout              = true;
            mainPanel.autoLayoutDirection     = LayoutDirection.Vertical;
            mainPanel.eventVisibilityChanged += OnToggleVisible;
        }