Don't wrap tab bar for TabbedPanels #54
Labels
No Label
bug
duplicate
enhancement
help wanted
invalid
question
wontfix
No Milestone
No Assignees
2 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: tslocum/cview#54
Loading…
Reference in New Issue
There is no content yet.
Delete Branch "%!s(<nil>)"
Deleting a branch is permanent. Although the deleted branch may exist for a short time before cleaning up, in most cases it CANNOT be undone. Continue?
When you open a lot of tabs in a
TabbedPanels
, the tab bar wraps and forms multiple lines. I think it would look better if the tab bar went off screen, and the correct tab came into focus (by scrolling) when you went to that tab.This is what Amfora v1.7.x does, but the upcoming version that will update cview (currently on the
cview-update
branch) usesTabbedPanels
, which changes the behaviour.By removing
s.Highlight()
inbd144c2430
, highlighting the current tab in my application (Amfora) no longer works. Was it a mistake to remove it? Am I right in thinking that that line is why it breaks what I was doing before? If so please re-open the issue.Thanks, that line was indeed removed by mistake. I've just restored it.
When I try this out with
.SetTabSwitcher(1)
, the tabs do not scroll so the currently highlighted one is visible, like it used to do.Thanks, this should be resolved.