Don't limit tables and grids to markup text

Closes #13
This commit is contained in:
Patrik Svensson
2020-08-24 23:24:23 +02:00
committed by Patrik Svensson
parent effdecb1d4
commit 8a01b93aca
41 changed files with 472 additions and 193 deletions

View File

@@ -125,8 +125,7 @@ namespace Spectre.Console.Tests.Unit
// When
console.Render(
new Panel(
new Text("Hello World").WithAlignment(Justify.Right))
new Panel(new Text("Hello World").RightAligned())
{
Expand = true,
});
@@ -146,8 +145,7 @@ namespace Spectre.Console.Tests.Unit
// When
console.Render(
new Panel(
new Text("Hello World").WithAlignment(Justify.Center))
new Panel(new Text("Hello World").Centered())
{
Expand = true,
});