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

            icon.alignTop();
            icon.Set_Height(title.Get_Height());
            title.alignTop();
            title.moveRightOf(icon);
            //title.FloodX();

            collapser.moveBelow(title);
        }
Пример #2
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();
        }
        public override void doLayout()
        {
            base.doLayout();
            uiControl name = this["name"];
            uiControl auth = this["author"];

            //name.area = new Rect(0f, 0f, area.width, name.Style.lineHeight);
            //auth.area = new Rect(10f, name.area.yMax, area.width, name.Style.lineHeight);
            name.alignTop();
            name.alignLeftSide();

            auth.moveBelow(name, 0);
            auth.alignLeftSide(8);

            download_info.alignLeftSide();
            download_info.moveBelow(auth, 0f);
            download_info.FloodX();
        }