-
Notifications
You must be signed in to change notification settings - Fork 646
Panel not respecting IOverflowable #1940
Copy link
Copy link
Closed
Description
Given this
var markup = new Markup("[yellow]foo[/] [red]pneumonoultramicroscopicsilicovolcanoconiosis[/] [blue]bar qux[/]")
.Overflow(Overflow.Ellipsis);
var panel = new Panel(markup)
{
Width = 20,
};
// When
AnsiConsole.Write(panel);I'm seeing
┌───────────────────────────────────────────────────────────┐
│ foo pneumonoultramicroscopicsilicovolcanoconiosis bar qux │
└───────────────────────────────────────────────────────────┘
Expected
┌──────────────────┐
│ foo │
│ pneumonoultrami… │
│ bar qux │
└──────────────────┘
I have a fix, just want to make sure this is an actual bug or designed behavior with panels
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels