Skip to content

Commit

Permalink
#6 Update Spliter control behavior (done)
Browse files Browse the repository at this point in the history
  • Loading branch information
ducphamhong committed Oct 30, 2020
1 parent 1d33439 commit 785aae8
Show file tree
Hide file tree
Showing 3 changed files with 565 additions and 77 deletions.
8 changes: 4 additions & 4 deletions Projects/Editor/Source/Editor/CEditor.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -37,17 +37,17 @@ namespace Skylicht

GUI::CSplitter *spliter = new GUI::CSplitter(window1);
spliter->dock(GUI::EPosition::Fill);
spliter->setNumberRowCol(4, 1);
spliter->setNumberRowCol(2, 2);

GUI::CTabControl *tab1 = new GUI::CTabControl(window1);
GUI::CTabControl *tab2 = new GUI::CTabControl(window1);
GUI::CTabControl *tab3 = new GUI::CTabControl(window1);
GUI::CTabControl *tab4 = new GUI::CTabControl(window1);

spliter->setControl(tab1, 0, 0);
spliter->setControl(tab2, 1, 0);
spliter->setControl(tab3, 2, 0);
spliter->setControl(tab4, 3, 0);
spliter->setControl(tab2, 0, 1);
spliter->setControl(tab3, 1, 0);
spliter->setControl(tab4, 1, 1);

GUI::CBase *p1 = tab1->addPage(L"Scene", NULL);
GUI::CBase *p2 = tab1->addPage(L"Particle", NULL);
Expand Down
Loading

0 comments on commit 785aae8

Please sign in to comment.