Add option to disable text clipping in text boxes

This commit is contained in:
Wojciech Figat
2022-08-05 14:38:18 +02:00
parent b23cf5f1d8
commit 9caf80bdc9
3 changed files with 14 additions and 4 deletions

View File

@@ -192,6 +192,12 @@ namespace FlaxEngine.GUI
}
}
/// <summary>
/// Gets or sets a value indicating whether apply clipping mask on text during rendering.
/// </summary>
[EditorOrder(529)]
public bool ClipText { get; set; } = true;
/// <summary>
/// Gets or sets textbox background color when the control is selected (has focus).
/// </summary>