mirror of
https://github.com/nsnail/spectre.console.git
synced 2025-07-03 03:18:14 +08:00
Add Layout widget (#1041)
* Add width to panels * Add height to panels * Replace RenderContext with RenderOptions * Remove exclusivity from alternative buffer * Add Layout widget * Add Align widget
This commit is contained in:
@ -70,7 +70,7 @@ public sealed class RuleTests
|
||||
// When
|
||||
console.Write(new Rule("Hello World")
|
||||
{
|
||||
Alignment = Justify.Left,
|
||||
Justification = Justify.Left,
|
||||
});
|
||||
|
||||
// Then
|
||||
@ -87,7 +87,7 @@ public sealed class RuleTests
|
||||
// When
|
||||
console.Write(new Rule("Hello World")
|
||||
{
|
||||
Alignment = Justify.Right,
|
||||
Justification = Justify.Right,
|
||||
});
|
||||
|
||||
// Then
|
||||
|
Reference in New Issue
Block a user