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

Different font on first item #257

Closed
sbravotalero opened this issue Feb 16, 2018 · 2 comments
Closed

Different font on first item #257

sbravotalero opened this issue Feb 16, 2018 · 2 comments

Comments

@sbravotalero
Copy link

Issue Description

The first item appears with a different font than the others on iOS 11. This is how the appereance is being configured:

bar.appearance = TabmanBar.Appearance({ (appearance) in
appearance.style.background = .solid(color: .grey38)
appearance.state.color = .grey142
appearance.state.selectedColor = .signatureYellow
appearance.text.font = UIFont.Geograph.medium.ofSize(16.8)
appearance.indicator.isProgressive = false
appearance.indicator.color = .clear
})

screen shot 2018-02-16 at 11 21 10 am

@msaps
Copy link
Member

msaps commented Feb 23, 2018

@sbravotalero I believe that is due to the fact that Tabman has adjustsFontSizeToFitWidth enabled on the bar buttons. Would it be useful to make this behaviour configurable?

@msaps
Copy link
Member

msaps commented Dec 12, 2018

@sbravotalero just released Tabman 2 which should have resolved this issue and in general is hopefully a lot better! 😄

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

2 participants