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

Too much spacing betwen items on iPad #177

Open
fruitcoder opened this issue May 9, 2017 · 5 comments
Open

Too much spacing betwen items on iPad #177

fruitcoder opened this issue May 9, 2017 · 5 comments

Comments

@fruitcoder
Copy link

Compared to the default UITabBarController from UIKit, this view controller spread its items along the full width (similar to how flexbox's space-around works). Is there any way I can disable this?

Normal behavior from Apple's News App:
simulator screen shot 9 may 2017 14 22 34

Screenshot from Demo project:
simulator screen shot 9 may 2017 14 22 02

@johndpope
Copy link

I thought it may be a collection view where you could over ride it, but
Afraid not.
As last resort, Yiu could try adding empty items on left and right.

@fruitcoder
Copy link
Author

It's all handled by auto layout constraints. I'll probably fork and override createViewContainers()

@johndpope
Copy link

did you make any head way with this?

@fruitcoder
Copy link
Author

It's not very high on my list, but I'll fix it within the next two weeks and can share it via PR if you want

@johndpope
Copy link

I would love that.
Some inspiration
https://soundcloud.com/camokrooked/essential-mix-2017

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

No branches or pull requests

2 participants