Added more documentation to the AutoSize property.

This commit is contained in:
BDisp
2020-11-17 16:12:01 +00:00
parent 84d06a638b
commit b460ee712d

View File

@@ -1908,6 +1908,9 @@ namespace Terminal.Gui {
/// <summary>
/// Used by <see cref="Text"/> to resize the view's <see cref="Bounds"/> with the <see cref="TextFormatter.Size"/>.
/// Setting <see cref="Auto"/> to true only work if the <see cref="Width"/> and <see cref="Height"/> are null or
/// <see cref="LayoutStyle.Absolute"/> values and doesn't work with <see cref="LayoutStyle.Computed"/> layout,
/// to avoid breaking the <see cref="Pos"/> and <see cref="Dim"/> settings.
/// </summary>
public virtual bool AutoSize {
get => autoSize;