Skip to content

Commit

Permalink
fixed python editor on 4.12
Browse files Browse the repository at this point in the history
  • Loading branch information
Roberto De Ioris committed Mar 1, 2017
1 parent e209d8d commit f6e59e9
Showing 1 changed file with 21 additions and 1 deletion.
22 changes: 21 additions & 1 deletion Source/PythonEditor/Private/PythonProjectEditor.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -144,7 +144,27 @@ FBasicPythonEditorMode::FBasicPythonEditorMode(TSharedPtr<class FPythonProjectEd
->SetHideTabWell(true)
->AddTab(InPythonEditor->GetToolbarTabId(), ETabState::OpenedTab)
)

->Split
(
FTabManager::NewSplitter()
->SetSizeCoefficient(0.9f)
->SetOrientation(Orient_Horizontal)
->Split
(
FTabManager::NewStack()
->SetSizeCoefficient(0.2)
->SetHideTabWell(true)
->AddTab(PythonEditorTabs::ProjectViewID, ETabState::OpenedTab)
)
->Split
(
FTabManager::NewStack()
->SetSizeCoefficient(0.8)
->SetHideTabWell(false)
->AddTab(PythonEditorTabs::PythonViewID, ETabState::ClosedTab)

)
)
);

InPythonEditor->GetToolbarBuilder()->AddEditorToolbar(ToolbarExtender);
Expand Down

0 comments on commit f6e59e9

Please sign in to comment.