mirror of
https://github.com/nsnail/spectre.console.git
synced 2025-06-19 21:38:16 +08:00
Fix Rule widget docs
This commit is contained in:

committed by
Patrik Svensson

parent
2af901a814
commit
813a53cdfa
@ -41,7 +41,7 @@ You can set the rule's title alignment.
|
||||
|
||||
```csharp
|
||||
var rule = new Rule("[red]Hello[/]");
|
||||
rule.Alignment = Justify.Left;
|
||||
rule.Justification = Justify.Left;
|
||||
AnsiConsole.Write(rule);
|
||||
```
|
||||
|
||||
|
Reference in New Issue
Block a user