Add timeline bar to default layout

This commit is contained in:
baldurk
2017-12-21 11:10:50 +00:00
parent 51ebb61bf0
commit 7f20040105
+7
View File
@@ -1264,6 +1264,13 @@ void MainWindow::show()
apiInspector,
ToolWindowManager::AreaReference(ToolWindowManager::BottomOf,
ui->toolWindowManager->areaOf(eventBrowser), 0.3f));
QWidget *timelineBar = m_Ctx.GetTimelineBar()->Widget();
ui->toolWindowManager->addToolWindow(
timelineBar,
ToolWindowManager::AreaReference(ToolWindowManager::TopWindowSide,
ui->toolWindowManager->areaOf(textureViewer), 0.2f));
}
QMainWindow::show();