LevelEditor_Layout_v1.8

LevelEditor_Layout_v1.8

#Overview

name: LevelEditor_Layout_v1.8

The value of this variable can be defined or overridden in .ini config files. 2 .ini config files referencing this setting variable.

It is referenced in 2 C++ source files.

#Summary

#Setting Variables

#References In INI files

Location: <Workspace>/Engine/Config/Layouts/DefaultLayout.ini:3, section: [EditorLayouts]

Location: <Workspace>/Engine/Config/Layouts/UE4ClassicLayout.ini:5, section: [EditorLayouts]

#References in C++ code

#Callsites

This variable is referenced in the following C++ source code:

#Loc: <Workspace>/Engine/Source/Editor/LevelEditor/Private/SLevelEditor.cpp:1563

Scope (from outer to inner):

file
function     TSharedRef<SWidget> SLevelEditor::RestoreContentArea

Source code excerpt:



	// IMPORTANT: If you want to change the default value of "LevelEditor_Layout_v1.8" or "UnrealEd_Layout_v1.4" (even if you only change their version numbers), these are the steps to follow:
	// 1. Check out Engine\Config\Layouts\DefaultLayout.ini in Perforce.
	// 2. Change the code below as you wish and compile the code.
	// 3. (Optional:) Save your current layout so you can load it later.
	// 4. Close the editor.
	// 5. Manually remove Engine\Saved\Config\WindowsEditor\EditorLayout.ini and Users\[UserName]\AppData\Local\UnrealEngine\Editor\EditorLayout.json
	// 6. Open the Editor, which will auto-regenerate a default EditorLayout.ini that uses your new code below.

#Loc: <Workspace>/Engine/Source/Editor/LevelEditor/Private/SLevelEditor.cpp:1580

Scope (from outer to inner):

file
function     TSharedRef<SWidget> SLevelEditor::RestoreContentArea

Source code excerpt:

	// 10. Push the new "DefaultLayout.ini" together with your new code.
	// 11. Also update these instructions if you change the version number (e.g., from "UnrealEd_Layout_v1.6" to "UnrealEd_Layout_v1.7").
	const FName LayoutName = TEXT("LevelEditor_Layout_v1.8");
	const TSharedRef<FTabManager::FLayout> DefaultLayout = FLayoutSaveRestore::LoadFromConfig(GEditorLayoutIni,
		FTabManager::NewLayout( LayoutName )
		->AddArea
		(
			FTabManager::NewPrimaryArea()
			->SetOrientation( Orient_Horizontal )