mirror of
https://github.com/rivo/tview.git
synced 2026-04-26 13:25:51 +03:00
[PR #703] Add SetSelectorWrap #1021
Labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/tview#1021
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?
📋 Pull Request Information
Original PR: https://github.com/rivo/tview/pull/703
Author: @darkhz
Created: 2/16/2022
Status: 🔄 Open
Base:
master← Head:selector_wrap📝 Commits (1)
387d523Added SetSelectorWrap📊 Changes
1 file changed (+33 additions, -1 deletions)
View changed files
📝
table.go(+33 -1)📄 Description
In some cases, having the selector span across the entire column width may be unnecessary, especially if only one column is being selected and/or there are huge gaps between columns. In such cases, wrapping the selector around the TableCell's text may be better.
Before selector wrap:

After selector wrap:

🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.