浏览代码

Code cleanup

Tig 1 年之前
父节点
当前提交
4b4c3ae6aa
共有 1 个文件被更改,包括 3 次插入2 次删除
  1. 3 2
      Terminal.Gui/Drawing/Justification.cs

+ 3 - 2
Terminal.Gui/Drawing/Justification.cs

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