mirror of
https://github.com/rivo/tview.git
synced 2026-04-26 21:35:54 +03:00
[GH-ISSUE #417] List PgUp and PgDn window is hardcoded to 5 items #304
Labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/tview#304
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 @abitrolly on GitHub (Mar 11, 2020).
Original GitHub issue: https://github.com/rivo/tview/issues/417
I expected List element to scroll contents according to page height. It doesn't. Because it uses hardcoded page size of 5 elements. Is it possible to fix that?
github.com/rivo/tview@cd38d74324/list.go (L501-L504)@rivo commented on GitHub (Apr 14, 2020):
Thanks. You're right and to be honest, I don't remember why I set this to 5. (This was very early code, I may not have had the
GetInnerRect()function yet.)