mirror of
https://github.com/rivo/tview.git
synced 2026-04-26 21:35:54 +03:00
[GH-ISSUE #279] Support widget overflowing #214
Labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/tview#214
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @diamondburned on GitHub (Apr 26, 2019).
Original GitHub issue: https://github.com/rivo/tview/issues/279
Is there any plans for flex or grid boxes to overflow widgets properly? An example would be adding so many widgets vertically, it cuts properly and not render the rest. Arrow keys and methods can be bound to keys for scrolling in them. Perhaps that, or a specific Scrolling primitive?
@rivo commented on GitHub (May 14, 2019):
Can you send me a screenshot of an example where the current handling causes problems?
@diamondburned commented on GitHub (May 15, 2019):
https://gitlab.com/diamondburned/tview-grid-overflow-example
A simple
go run .will do.@rivo commented on GitHub (Jun 30, 2019):
When clicking on your link, I'm seeing this:
Could you post some code here or in a gist here on GitHub, please?
@diamondburned commented on GitHub (Jul 2, 2019):
carousel.go
main.go
Solution is to just wrap
tcell.Screenaround a Painter, have the Painter methods check for out of bounds and draw.@rivo commented on GitHub (Jul 17, 2019):
So this should be fixed now. The whole handling of the offset values in
Gridwas buggy so I rewrote that part.