setFillParent() public method

public setFillParent ( bool fillParent ) : Table
fillParent bool
return Table
コード例 #1
0
        private void init()
        {
            setSize(100, 100);

            setBackground(_style.background);

            top().left();

            tabs       = new List <Tab>();
            tabButtons = new List <TabButton>();

            _buttonsTable = new Table();
            _buttonsTable.setFillParent(true);
            _buttonsTable.top().left();
            _tabTable = new Table();
            _tabTable.top().left();

            row();
            add(_buttonsTable).fill().setExpandX();
            row();
            add(_tabTable).fill().setExpandY();
        }