This commit is contained in:
Charlie Kindel
2020-06-04 12:43:19 -06:00
parent f6670e1931
commit 90b19a5e04
17 changed files with 350 additions and 104 deletions

View File

@@ -54,6 +54,15 @@ namespace Terminal.Gui {
/// </remarks>
public Action Clicked;
/// <summary>
/// Initializes a new instance of <see cref="Button"/> using <see cref="LayoutStyle.Computed"/> layout.
/// </summary>
/// <remarks>
/// The width of the <see cref="Button"/> is computed based on the
/// text length. The height will always be 1.
/// </remarks>
public Button () : this (string.Empty) { }
/// <summary>
/// Initializes a new instance of <see cref="Button"/> using <see cref="LayoutStyle.Computed"/> layout.
/// </summary>