mirror of
https://github.com/nsnail/spectre.console.git
synced 2025-04-14 16:02:50 +08:00
Fix Rule widget docs
This commit is contained in:
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);
|
||||
```
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user