lucoceano / Pager

Pager is the simplest and best way to implement sliding view controllers in Swift
MIT License
232 stars 41 forks source link

Tabs Alignment does not remains fixed #44

Open abhii24 opened 7 years ago

abhii24 commented 7 years ago

In case i have only 2 or 3 tabs then when i swipe to go to the next tab then tabs position gets changed! its fine for the case where number of tabs are more than 3 or 4...But if the tabs position do not get changed while we have only 2-3 tabs then it could look better.. @lucoceano @lfarah

lucoceano commented 7 years ago

@abhii24 I'm looking into it, it seems it's gonna take more time then I have right now, if wanna take a look during the week, the problem is on the method changeActiveTabIndex when setting the content offset

abhii24 commented 7 years ago

Allright!! @lucoceano Do let us know as soon as you are done with it.