TextPath behaves strange together with columns
patriksvensson opened this issue · comments
Patrik Svensson commented
Information
- OS: Windows
- Version: 0.47.0
- Terminal: Windows Terminal
Describe the bug
TextPath seems to add a new line and/or being greedy about the max size.
To Reproduce
// Works as expected
AnsiConsole.Write(
new Columns(
new Panel(new Text("Foo")),
new Panel(new Text("Bar"))
));
// Does not work as expected
AnsiConsole.Write(
new Columns(
new Panel(new Text("Baz")),
new Panel(new TextPath("Qux"))
).Collapse());
Expected behavior
The bottom example in the reproduction should look like the top one.
Screenshots