|
@@ -1,7 +1,7 @@
|
|
|
namespace Terminal.Gui;
|
|
|
|
|
|
/// <summary>
|
|
|
-/// Controls how the <see cref="Justifier"/> justifies items within a container.
|
|
|
+/// Controls how the <see cref="Justifier"/> justifies items within a container.
|
|
|
/// </summary>
|
|
|
public enum Justification
|
|
|
{
|
|
@@ -96,7 +96,7 @@ public class Justifier
|
|
|
public int ContainerSize { get; set; }
|
|
|
|
|
|
/// <summary>
|
|
|
- /// Gets or sets whether <see cref="Justify"/> puts a space is placed between items. Default is <see langword="false"/>. If <see langword="true"/>, a space will be
|
|
|
+ /// Gets or sets whether <see cref="Justifier"/> puts a space is placed between items. Default is <see langword="false"/>. If <see langword="true"/>, a space will be
|
|
|
/// placed between each item, which is useful for justifying text.
|
|
|
/// </summary>
|
|
|
public bool PutSpaceBetweenItems { get; set; }
|
|
@@ -118,6 +118,7 @@ public class Justifier
|
|
|
/// </summary>
|
|
|
/// <param name="sizes">The sizes of the items to justify.</param>
|
|
|
/// <param name="justification">The justification style.</param>
|
|
|
+ /// <param name="putSpaceBetweenItems">Puts a space is placed between items.</param>
|
|
|
/// <param name="containerSize">The size of the container.</param>
|
|
|
/// <returns>The locations of the items, from left to right.</returns>
|
|
|
public static int [] Justify (Justification justification, bool putSpaceBetweenItems, int containerSize, int [] sizes)
|