Exemple #1
0
        public override void doLayout()
        {
            base.doLayout();

            message.Set_Pos(0, 0);
            btnPanel.alignBottom();

            contentPanel.moveBelow(message);
            contentPanel.snapBottomSideTo(btnPanel);
            contentPanel.FloodX();
        }
        private void Plugin_Update_Viewer_onLayout(uiPanel c)
        {
            msg_instruct.alignTop(5f);
            msg_instruct.alignLeftSide();
            msg_instruct.FloodX();

            mark_all.alignLeftSide(5f);
            mark_all.moveBelow(msg_instruct, 12f);

            list.moveBelow(mark_all, 5f);
            list.FloodXY(0f, 32f);

            btn_update.moveBelow(list, 2f);
            btn_update.CenterHorizontally();
        }