public override void doLayout()
        {
            base.doLayout();

            btn_config.alignTop();
            btn_config.alignLeftSide();

            float xPad = 5f;

            lbl_search.alignTop(10f);
            lbl_search.moveRightOf(statusPanel, xPad);

            search.alignTop(10f);
            search.moveRightOf(lbl_search);
            search.FloodX(12f);
            if (search.Area.size.y != lbl_search.Area.size.y)
            {
                lbl_search.Set_Height(search.Area.size.y);
            }

            statusPanel.moveBelow(search, 10f);
            statusPanel.FloodY();

            lbl_pl_count.alignLeftSide(5f);
            lbl_pl_count.moveBelow(btn_config, 2f);

            tabPanel.moveBelow(search, 10f);
            tabPanel.moveRightOf(statusPanel, 2f);
            tabPanel.FloodXY();
        }
Пример #2
0
        private void DevMenu_onLayout(uiPanel c)
        {
            list.Set_Width(200f);
            list.FloodY();

            tabPanel.alignTop();
            tabPanel.moveRightOf(list);
        }
Пример #3
0
        private new void Layout(uiPanel p)
        {
            base.doLayout();

            cList.alignTop();
            cList.alignLeftSide();
            cList.FloodY();

            catPanel.moveRightOf(cList);
            catPanel.FloodXY();
        }
Пример #4
0
        private void PluginManager_onLayout(uiPanel c)
        {
            list.alignLeftSide();

            control_panel.moveBelow(top_wrapper);
            control_panel.moveRightOf(list);

            list.moveBelow(top_wrapper);
            list.FloodY();

            tabPanel.moveBelow(control_panel);
            tabPanel.moveRightOf(list);
            tabPanel.FloodXY();
        }