Bladeren bron

Fixes #4070 - `GetContentSize()` api docs (#4081)

* touching publish.yml

* Fixed api docs
Tig 4 maanden geleden
bovenliggende
commit
2a9af8b16b
1 gewijzigde bestanden met toevoegingen van 3 en 4 verwijderingen
  1. 3 4
      Terminal.Gui/View/View.Content.cs

+ 3 - 4
Terminal.Gui/View/View.Content.cs

@@ -5,6 +5,8 @@ public partial class View
 {
     #region Content Area
 
+    // nullable holder of developer specified Content Size. If null then the developer did not
+    // explicitly set it and contentsize will be calculated dynamically.
     internal Size? _contentSize;
 
     /// <summary>
@@ -66,10 +68,7 @@ public partial class View
     ///         <see cref="Viewport"/>.
     ///     </para>
     ///     <para>
-    ///         If the content size was not explicitly set by <see cref="SetContentSize"/>, and the View has visible subviews, <see cref="GetContentSize ()"/> will return the
-    ///         maximum
-    ///         position + dimension of the SubViews, supporting <see cref="Dim.Auto"/> with the
-    ///         <see cref="DimAutoStyle.Content"/> flag set.
+    ///         If the content size was not explicitly set by <see cref="SetContentSize"/>, this function will return the Viewport size.
     ///     </para>
     ///     <para>
     ///         If set <see cref="Viewport"/> describes the portion of the content currently visible to the user. This enables