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(); }