Nez.UI.Table.top C# (CSharp) 메소드

top() 공개 메소드

Adds {@link Align#top} and clears {@link Align#bottom} for the alignment of the logical table within the table element.
public top ( ) : Table
리턴 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