Add horizontal alignment tags for rich text box

This commit is contained in:
Wojciech Figat
2022-08-05 15:29:37 +02:00
parent 9caf80bdc9
commit f781fd8ab6
4 changed files with 107 additions and 12 deletions

View File

@@ -32,11 +32,32 @@ namespace FlaxEngine.GUI
/// </summary>
Bottom = 4,
/// <summary>
/// Block will be aligned to the left edge of the layout (horizontally).
/// </summary>
Left = 8,
/// <summary>
/// Block will be aligned to center of the layout (horizontally).
/// </summary>
Center = 16,
/// <summary>
/// Block will be aligned to the right edge of the layout (horizontally).
/// </summary>
Right = 32,
/// <summary>
/// Mask with vertical alignment flags.
/// </summary>
[HideInEditor]
VerticalMask = Top | Middle | Bottom,
/// <summary>
/// Mask with horizontal alignment flags.
/// </summary>
[HideInEditor]
HorizontalMask = Left | Center | Right,
}
/// <summary>