Skip to content
This repository was archived by the owner on Sep 26, 2022. It is now read-only.

Customization of elements #3

Open
n1schal opened this issue Jan 5, 2020 · 3 comments
Open

Customization of elements #3

n1schal opened this issue Jan 5, 2020 · 3 comments

Comments

@n1schal
Copy link

n1schal commented Jan 5, 2020

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!

@hussc
Copy link
Owner

hussc commented Jan 21, 2020

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 :)

@devuzan
Copy link

devuzan commented Apr 3, 2020

Can I customize tabbarHeight of CustomTabBar?

@NirajCapermint
Copy link

How one can set selected icons?

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

4 participants