fortmarek / SwipeViewController

SwipeViewController is a Swift modification of RKSwipeBetweenViewControllers - navigate between pages / ViewControllers
MIT License
655 stars 46 forks source link

Too many buttons,overflow #34

Open haozes opened 6 years ago

haozes commented 6 years ago
overflow

If there have too many buttons ,it's not well handled, I wanna it has horizontal scroll. But it collapse together.

How to make a horizontal scroll.

I set equalSpace ,and button offset

     equalSpaces = true

    setButtonsOffset(10, bottomOffset: 5)

Please help !

fortmarek commented 6 years ago

What do you mean by horizontal scroll? I agree that there maybe should be some font-handling if there are too many buttons. As a quick fix, you can change the font size yourself, or maybe even create a PR to handle these kinds of edge-cases 🤓

joshwolff1 commented 4 years ago

Just use https://github.com/PageMenu/PageMenu