Skip to content

Commit 73b5c0b

Browse files
authored
Fixes #4070 - GetContentSize() api docs (#4081)
* touching publish.yml * Fixed api docs
1 parent eea13c2 commit 73b5c0b

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

Terminal.Gui/View/View.Content.cs

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,8 @@ public partial class View
55
{
66
#region Content Area
77

8+
// nullable holder of developer specified Content Size. If null then the developer did not
9+
// explicitly set it and contentsize will be calculated dynamically.
810
internal Size? _contentSize;
911

1012
/// <summary>
@@ -66,10 +68,7 @@ public void SetContentSize (Size? contentSize)
6668
/// <see cref="Viewport"/>.
6769
/// </para>
6870
/// <para>
69-
/// If the content size was not explicitly set by <see cref="SetContentSize"/>, and the View has visible subviews, <see cref="GetContentSize ()"/> will return the
70-
/// maximum
71-
/// position + dimension of the SubViews, supporting <see cref="Dim.Auto"/> with the
72-
/// <see cref="DimAutoStyle.Content"/> flag set.
71+
/// If the content size was not explicitly set by <see cref="SetContentSize"/>, this function will return the Viewport size.
7372
/// </para>
7473
/// <para>
7574
/// If set <see cref="Viewport"/> describes the portion of the content currently visible to the user. This enables

0 commit comments

Comments
 (0)