You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Originally posted by tty2 September 10, 2022
Is there any common way to have left/right scroll for viewport (or any other component)?
I'm working on the project that should show logs from a container.
If I set width == right corner of a terminal, I'll get long lines with line breaks (first screenshot).
As a result I can't use viewport.ScrollPercent cause it relies on number of lines and I lose some lines in the end.
Plus, for data like logs it's more convenient to have similar appearance (compare screenshots). But the problem of second way that I lose the end of the lines. Can I use second way and scroll left/right somehow?
The text was updated successfully, but these errors were encountered:
Discussed in #235
Originally posted by tty2 September 10, 2022
Is there any common way to have left/right scroll for viewport (or any other component)?
I'm working on the project that should show logs from a container.
If I set width == right corner of a terminal, I'll get long lines with line breaks (first screenshot).
As a result I can't use
viewport.ScrollPercent
cause it relies on number of lines and I lose some lines in the end.Plus, for data like logs it's more convenient to have similar appearance (compare screenshots). But the problem of second way that I lose the end of the lines. Can I use second way and scroll left/right somehow?
The text was updated successfully, but these errors were encountered: