Nez.UI.Table.top C# (CSharp) Method

top() public method

Adds {@link Align#top} and clears {@link Align#bottom} for the alignment of the logical table within the table element.
public top ( ) : Table
return Table
		public Table top()
		{
			_align |= AlignInternal.top;
			_align &= ~AlignInternal.bottom;
			return this;
		}

Usage Example

コード例 #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();
        }
All Usage Examples Of Nez.UI.Table::top