Ramotion / animated-tab-bar

:octocat: RAMAnimatedTabBarController is a Swift UI module library for adding animation to iOS tabbar items and icons. iOS library made by @Ramotion
https://www.ramotion.com/animated-tab-bar-ios-app-development-ui-library/
MIT License
11.12k stars 1.33k forks source link

Can't find where to set top inset for tab bar image #277

Open AlexanderParshakov opened 4 years ago

AlexanderParshakov commented 4 years ago

Hello!

I'd like to make the image in RAMAnimatedTabBarItem more vertically centered, not sticking to the top of the RAMAnimatedTabBar's top. I suppose I have to change the top inset for the image inside the pod code.

I have searched and found that this could be achieved by changing yOffset in method CreateContraints, but I have not found it anywhere in the current version pod. I have tried changing the Theme enum's properties and values in LayoutContainers(), neither seems to be working.

Will you advise something, please? What to do instead of the CreateConstrains method? Or, perhaps, I missed it somehow even though I used the global search?