Skip to content
This repository has been archived by the owner on Jun 17, 2018. It is now read-only.

Nasty space between navbar and paginMenu #354

Open
elchris78 opened this issue May 24, 2017 · 3 comments
Open

Nasty space between navbar and paginMenu #354

elchris78 opened this issue May 24, 2017 · 3 comments

Comments

@elchris78
Copy link

Hey there guys,

I just implemented this awesome project into of project of mine.
Everything works ok, but I'm having some problem with getting rid of some nasty space between Navigation Bar and PagingMenu Bar. I want them to be together (no padding between them) but I haven't found the solution yet.
It is that yellow space in the image below. The yellow is because I changed the root view's background to yellow so it can be notorious.
screen shot 2017-05-24 at 6 48 01 pm

Any help on this one guys please?
Thank you in advance...

@elchris78
Copy link
Author

Found the solution.
It's not a bug, it's a configuration matter (or creation of the child view of the root view).
You've gotta set to + - 0 the y and height properties of the pagingMenuController
screen shot 2017-05-26 at 4 18 42 pm

Just to let you know...

@kevinlee85
Copy link

I think "You should add ContainerView into your view controller's view and set PagingMenuController as the embedded view controller's class" should be the correct solution.
You should drag one Container View to your UIViewContolller, then add your pagemenu controller to the container view.
containerView.addSubview(pagingMenuController.view)
The containerView is you drag in form IB.

@PhilippeBoisney
Copy link

Thanks @elchris78 ! You saved my day.

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

No branches or pull requests

3 participants