PTCardTabBar icon indicating copy to clipboard operation
PTCardTabBar copied to clipboard

Customization of elements

Open n1schal opened this issue 5 years ago • 3 comments

So I stumbled upon this cool looking TabBar and wanted to give it a go.

I created a UITabBarController from the storyboard, then proceeded to create a custom class that is a subclass of PTCardTabBarController. I was able to set the icons but wasn't able to customize the tab bar, the button of items and other elements.

Could you assist me as to how I could further stylize all of the elements?

Also, if I wanted to reduce the width of the tab bar, how could that be done?

Looking forward to hearing from you.

Thanks in advance!

n1schal avatar Jan 05 '20 08:01 n1schal

Hello @n1schal for now you can modify the background color, and the tint color from the storyboard or the code, If you want any more customization, let me know so I can edit it.

For the width, right now you can't modify it's width, it's pinned to the screen bounds, but I may enhance it to support sizeToFit width :)

hussc avatar Jan 21 '20 17:01 hussc

Can I customize tabbarHeight of CustomTabBar?

devuzan avatar Apr 03 '20 14:04 devuzan

How one can set selected icons?

NirajCapermint avatar Jun 24 '21 07:06 NirajCapermint