mirror of
https://github.com/nsnail/spectre.console.git
synced 2025-11-03 18:25:26 +08:00
Add support for styling segments
This commit is contained in:
committed by
Phil Scott
parent
921d595269
commit
5e41a2f505
@@ -45,7 +45,7 @@ internal static class Aligner
|
||||
}
|
||||
}
|
||||
|
||||
public static void Align<T>(RenderContext context, T segments, Justify? alignment, int maxWidth)
|
||||
public static void Align<T>(T segments, Justify? alignment, int maxWidth)
|
||||
where T : List<Segment>
|
||||
{
|
||||
if (alignment == null || alignment == Justify.Left)
|
||||
|
||||
Reference in New Issue
Block a user