Skip to content

Commit f6e59e9

Browse files
author
Roberto De Ioris
committed
fixed python editor on 4.12
1 parent e209d8d commit f6e59e9

File tree

1 file changed

+21
-1
lines changed

1 file changed

+21
-1
lines changed

Source/PythonEditor/Private/PythonProjectEditor.cpp

Lines changed: 21 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -144,7 +144,27 @@ FBasicPythonEditorMode::FBasicPythonEditorMode(TSharedPtr<class FPythonProjectEd
144144
->SetHideTabWell(true)
145145
->AddTab(InPythonEditor->GetToolbarTabId(), ETabState::OpenedTab)
146146
)
147-
147+
->Split
148+
(
149+
FTabManager::NewSplitter()
150+
->SetSizeCoefficient(0.9f)
151+
->SetOrientation(Orient_Horizontal)
152+
->Split
153+
(
154+
FTabManager::NewStack()
155+
->SetSizeCoefficient(0.2)
156+
->SetHideTabWell(true)
157+
->AddTab(PythonEditorTabs::ProjectViewID, ETabState::OpenedTab)
158+
)
159+
->Split
160+
(
161+
FTabManager::NewStack()
162+
->SetSizeCoefficient(0.8)
163+
->SetHideTabWell(false)
164+
->AddTab(PythonEditorTabs::PythonViewID, ETabState::ClosedTab)
165+
166+
)
167+
)
148168
);
149169

150170
InPythonEditor->GetToolbarBuilder()->AddEditorToolbar(ToolbarExtender);

0 commit comments

Comments
 (0)