You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: Terminal.Gui/View/View.Content.cs
+3-4Lines changed: 3 additions & 4 deletions
Original file line number
Diff line number
Diff line change
@@ -5,6 +5,8 @@ public partial class View
5
5
{
6
6
#region Content Area
7
7
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.
8
10
internalSize?_contentSize;
9
11
10
12
/// <summary>
@@ -66,10 +68,7 @@ public void SetContentSize (Size? contentSize)
66
68
/// <see cref="Viewport"/>.
67
69
/// </para>
68
70
/// <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.
73
72
/// </para>
74
73
/// <para>
75
74
/// If set <see cref="Viewport"/> describes the portion of the content currently visible to the user. This enables
0 commit comments