Add Orientation option to ContentWindow

This commit is contained in:
ScottLongley
2021-08-25 20:37:16 +10:00
parent aa75a2aeb0
commit 64650367be
2 changed files with 21 additions and 1 deletions

View File

@@ -127,6 +127,13 @@ namespace FlaxEditor.Options
[EditorDisplay("Interface"), EditorOrder(250), Tooltip("Editor icons scale. Editor restart required.")]
public float IconsScale { get; set; } = 1.0f;
/// <summary>
/// Gets or sets the editor content window orientation.
/// </summary>
[DefaultValue(FlaxEngine.GUI.Orientation.Horizontal)]
[EditorDisplay("Interface"), EditorOrder(280), Tooltip("Editor content window orientation.")]
public FlaxEngine.GUI.Orientation ContentWindowOrientation { get; set; } = FlaxEngine.GUI.Orientation.Horizontal;
/// <summary>
/// Gets or sets the timestamps prefix mode for output log messages.
/// </summary>