[GH-ISSUE #276] Support specific width/height for table cells #211

Closed
opened 2026-03-04 01:03:02 +03:00 by kerem · 1 comment
Owner

Originally created by @jmickey on GitHub (Apr 25, 2019).
Original GitHub issue: https://github.com/rivo/tview/issues/276

Hi,

Thanks for this library! Would be awesome if it was possible to set a fixed width and height for table cells. Or even a padding around the text?

Originally created by @jmickey on GitHub (Apr 25, 2019). Original GitHub issue: https://github.com/rivo/tview/issues/276 Hi, Thanks for this library! Would be awesome if it was possible to set a fixed width and height for table cells. Or even a padding around the text?
kerem closed this issue 2026-03-04 01:03:02 +03:00
Author
Owner

@rivo commented on GitHub (May 14, 2019):

Each row in a Table always has a height of 1. That's built-in and unlikely to change. If you want a table-like structure with more complex content, you'll need to use Grid.

You can, however, set a fixed width for cells. See #227 for instructions.

<!-- gh-comment-id:492280940 --> @rivo commented on GitHub (May 14, 2019): Each row in a `Table` always has a height of 1. That's built-in and unlikely to change. If you want a table-like structure with more complex content, you'll need to use `Grid`. You can, however, set a fixed width for cells. See #227 for instructions.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/tview#211
No description provided.