charmbracelet / charmbracelet/bubbles

Allow resizing tables like in lipgloss, while also be able to specify "default" widths for each column

Open
#894 0 comments 1 reaction 0 assignees View on GitHub
enhancement
Dominant language
Go
Stars
8.9k
Forks
457
Avg merge
1d 18h
Merged PRs (30d)
5

Description

**Is your feature request related to a problem? Please describe.**
I would like to be able to resize my terminal and the table adjust to the width and height to it.

**Describe the solution you'd like**
I would like it to behave like described in [lipgloss table resizing](https://github.com/charmbracelet/lipgloss/blob/main/table/resizing.go).

**Describe alternatives you've considered**
I tried using the `WindowSizeMsg` to set the table height and width, but it's only changing the outer boarders and not the inner one, which is seperating the header and the rows.

I also considered using lipgloss table, but there I'm not able to specify a width for the columns.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.