Replies: 1 comment
-
or have a scrollable panel , I have a change some code for keep last message in panel var allLines = Segment.SplitLines(childSegments, innerWidth, null).ToList();
// If scrolling is enabled and content exceeds height limit, keep only the last few lines
if (Scroll && height.HasValue && allLines.Count > height.Value)
{
allLines = allLines.Skip(allLines.Count - height.Value).ToList();
} |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I am to display the content of a long file.
Simply reading the file and writing to the console works fine but I'd like to improve the user experience. I'm not even sure what kind of experience I want to give my user(s). I am thinking something like the ability to scroll up and down the content as it gets printed.
I'm curious to know if other developers have faced the same issue and what they came up with.
Thanks.
Beta Was this translation helpful? Give feedback.
All reactions