Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Start position of TabBarRow in CustomTabBar #4

Open
NSElvis opened this issue Jul 5, 2011 · 1 comment
Open

Start position of TabBarRow in CustomTabBar #4

NSElvis opened this issue Jul 5, 2011 · 1 comment

Comments

@NSElvis
Copy link

NSElvis commented Jul 5, 2011

Hello @boctor:

I've found that when you start the CustomTabBar example the TabBarRow is slightly moved to the right, and
I've found a fix, maybe this can help you.

[Class] CustomTabBar
[method] - (void) addTabBarArrowAtIndex:(NSUInteger)itemIndex

Change:

tabBarArrow.frame = CGRectMake([self horizontalLocationFor:itemIndex], verticalLocation, tabBarArrowImage.size.width, tabBarArrowImage.size.height);

To:

tabBarArrow.frame = CGRectMake([self horizontalLocationFor:itemIndex] - 5, verticalLocation, tabBarArrowImage.size.width, tabBarArrowImage.size.height);

That's all.

@mureev
Copy link

mureev commented Aug 19, 2011

thanx!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants