CRYENGINE allows you to scale, move and dock windows any way you want. On this page, we'll explain how.
Scaling and moving tools works the same way as in Windows.
To scale a window, move the mouse pointer to the edge of the window so that it turns into a double-ended arrow. Click and hold the left mouse button and move the mouse cursor.
To move a window, click and drag its title bar to your preferred position.
Docking helpers will automatically appear whenever you drag a window over another window, or the Sandbox Editor itself.
There are various places you can dock a window to: to the sides, top and bottom of the entire screen, to the sides, top and bottom within another window and as a tab within another window. We'll go over all of these below.
To explain how it works, we'll use the Flow Graph window, but you can use any window you like.
To dock the selected window to the side, top or bottom of the entire screen, select the title bar of the window you want to move and drag it. You'll see a docking helper appear in the middle and the edges of the screen. Drag the title bar of the window over one of the outer helpers:
You'll see a blue preview of where the window will end up in the screen:
Let go once you see this preview and the window will be docked in the specified location:
To dock the selected window to the side, top or bottom of another window, drag the window by its title bar and move it over to the window you want to dock it into. You'll see the docking helpers appear in the middle of that window instead of in the middle of the entire screen. Now you can drag the title bar of the selected window over the inner docking helpers:
Once again, you'll see a blue preview of where it will the window will end up:
Let go of the mouse button and the window will be docked.
This can also be done within other windows besides the Viewport:
This is a great space saver, especially if you only have one monitor.
There are two ways to dock a window as a tab.
All you have to do is drag the title bar of the window you want to dock onto the central docking helper:
The whole window that it will be docked into as a tab will turn blue:
Now, when you let go, you'll notice that another tab has appeared in the window:
Now you can easily switch between the windows in that section by clicking on the appropriate tab.
You can also drag the title bar of the selected window into the tab area of the target window. It will then be placed to the right of the tab that turns blue:
You can also change the order of tabs within a window by dragging a tab and dropping it where you want it to go:
If you want to move a window from its docked position to somewhere else, simply drag the tab of the window away and it will undock and behave as a normal, floating window.
Tabs do not have a cross in the top-right corner to close them, as you may expect. Instead, it requires a right click to display an option to close it:
When there are more tabs in a panel than fit the screen, a dropdown menu will appear for easy access to all the tabs:
If you want to reset the Sandbox layout to the default settings, choose Layout -> Reset Layout. This will undo all the changes you've made to the layout and show only the toolbars that are shown by default.
If you work in a team of developers and you use source control, you can share your custom layouts with others very easily.
You do this by copying its *.json file from your local project folder (by default
C:\Users\<User_Name>\AppData\Roaming\Crytek\CRYENGINE\Layouts) to the
Engine\Layouts folder in your game folder (by default
gamezero). The latter folder may need to be created as it doesn't exist by default.
Now your custom layout can be checked into source control along with the rest of the project data so they appear for the rest of the team as well, next to any layouts they have created for themselves.