Don't wrap tab bar for TabbedPanels
#54
Closed
opened 2 years ago by makeworld-the-better-one
·
4 comments
Loading…
Reference in New Issue
There is no content yet.
Delete Branch '%!s(<nil>)'
Deleting a branch is permanent. 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.