Add support for styling segments

This commit is contained in:
Patrik Svensson
2022-02-21 14:38:43 +01:00
committed by Phil Scott
parent 921d595269
commit 5e41a2f505
9 changed files with 293 additions and 50 deletions

View File

@ -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)