mirror of
https://github.com/rivo/tview.git
synced 2026-04-26 21:35:54 +03:00
[GH-ISSUE #606] Is there text wrap for TableCell? #443
Labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/tview#443
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 @aemengo on GitHub (May 23, 2021).
Original GitHub issue: https://github.com/rivo/tview/issues/606
I'm loving this
TablePrimitive, but I have some lines that are overflowing past the edge of my terminal.I'd love to be able to toggle text wrapping, if there's a way to do it.
@rivo commented on GitHub (May 28, 2021):
No,
Tableuses one line for a cell (plus the grid lines if you have them turned on). You can have multi-line text inGrids but it's functionality will be different from aTable.Note that generally,
tviewlays out its contents top-down so evenGridwill have no knowledge of how many lines its elements occupy. So it's different from how browsers lay out their elements. It's less "automatic".@aemengo commented on GitHub (May 29, 2021):
Alright, thanks!