mirror of
https://github.com/rivo/tview.git
synced 2026-04-26 13:25:51 +03:00
[GH-ISSUE #393] Help with table border #288
Labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/tview#288
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 @vito-c on GitHub (Jan 22, 2020).
Original GitHub issue: https://github.com/rivo/tview/issues/393
I have a table that has more content than can fit on the screen. Everything works fine but I was wondering why the table gridline doesn't show up at the bottom. Ideally I would like it so the table fits inside the border box and is scrollable. If I shrink the font of my terminal so that the table is completely inside then it shows everything and the table fits inside the bounding box.
Is there a way to set the number of viewable rows AND have it scrollable?
@agruenberg commented on GitHub (Jan 23, 2020):
How did you get the icons inside the table?
@tslocum commented on GitHub (Jan 23, 2020):
Those are emojis (terminal support for them is still maturing, FYI).
@vito-c commented on GitHub (Jan 23, 2020):
🔥✅❌ @agruenberg
@rivo commented on GitHub (Jan 25, 2020):
In your screenshot, there is no space to draw the bottom line so it gets cut off. I guess you could try to resize the
Tablewidget so that its height is always an even number.