add editor option for tab height

This commit is contained in:
xxSeys1
2025-02-11 16:39:33 +01:00
parent 570c3f7462
commit 409703d675
3 changed files with 25 additions and 18 deletions
@@ -260,6 +260,13 @@ namespace FlaxEditor.Options
public bool HideSingleTabWindowTabBars { get; set; } = true;
#endif
/// <summary>
/// Gets or sets a value indicating the height of window tabs. Editor restart required.
/// </summary>
[DefaultValue(20.0f), Limit(15.0f, 40.0f)]
[EditorDisplay("Tabs & Windows"), EditorOrder(100)]
public float TabHeight { get; set; } = 20.0f;
/// <summary>
/// Gets or sets a value indicating whether center mouse position on window focus in play mode. Helps when working with games that lock mouse cursor.
/// </summary>