diff --git a/src/Spectre.Console/Widgets/Columns.cs b/src/Spectre.Console/Widgets/Columns.cs index 55c287c6..03564286 100644 --- a/src/Spectre.Console/Widgets/Columns.cs +++ b/src/Spectre.Console/Widgets/Columns.cs @@ -25,7 +25,16 @@ namespace Spectre.Console /// /// Initializes a new instance of the class. /// - /// The items to render. + /// The items to render as columns. + public Columns(params IRenderable[] items) + : this((IEnumerable)items) + { + } + + /// + /// Initializes a new instance of the class. + /// + /// The items to render as columns. public Columns(IEnumerable items) { if (items is null) diff --git a/src/Spectre.Console/Widgets/Rows.cs b/src/Spectre.Console/Widgets/Rows.cs index 6de5c6da..b1c144ed 100644 --- a/src/Spectre.Console/Widgets/Rows.cs +++ b/src/Spectre.Console/Widgets/Rows.cs @@ -19,7 +19,16 @@ namespace Spectre.Console /// /// Initializes a new instance of the class. /// - /// The children to render. + /// The items to render as rows. + public Rows(params IRenderable[] items) + : this((IEnumerable)items) + { + } + + /// + /// Initializes a new instance of the class. + /// + /// The items to render as rows. public Rows(IEnumerable children) { _children = new List(children ?? throw new ArgumentNullException(nameof(children)));