Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Is it possible to make indicator sticky? (question) #71

Closed
iSaadSalman opened this issue May 8, 2017 · 3 comments
Closed

Is it possible to make indicator sticky? (question) #71

iSaadSalman opened this issue May 8, 2017 · 3 comments

Comments

@iSaadSalman
Copy link

I would like to make the indicator sticky and I want the anchor point for the active tab to be always the center.

Is this possible with Tabman?

Thanks

@msaps
Copy link
Member

msaps commented May 9, 2017

Hi,

This isn't possible with the bar styles that are currently available, but is certainly something that could be added with relative ease. Can raise it as an enhancement? Not sure on a current ETA for getting it in myself though.

Cheers 😄

@msaps
Copy link
Member

msaps commented May 25, 2017

This is now available via the itemDistribution property on TabmanBar.Appearance.Layout. Simply set it to centered when using the scrollingButtonBar style TabmanBar.

Available from 0.5.1. 😄

@msaps msaps closed this as completed May 25, 2017
@electic
Copy link

electic commented Jul 22, 2017

To add to this, how would you make it centered, regardless of selected item.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants