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

shadow of different color at the edge of rounded corner button #28

Closed
neetin opened this issue May 25, 2013 · 1 comment
Closed

shadow of different color at the edge of rounded corner button #28

neetin opened this issue May 25, 2013 · 1 comment

Comments

@neetin
Copy link

neetin commented May 25, 2013

I found a bug when I created FUIButton with these details

FUIButton *theLoginButton = [[FUIButton alloc] initWithFrame:CGRectMake(200, 400, 100, 40)];
self.loginButton = theLoginButton;

[self.loginButton setTitle:@"Login" forState:UIControlStateNormal];
self.loginButton.buttonColor = [UIColor peterRiverColor];
self.loginButton.cornerRadius = 3.0f;
self.loginButton.titleLabel.font = [UIFont boldFlatFontOfSize:16];
[self.loginButton setHighlighted: NO];
[self.loginButton setTitleColor:[UIColor cloudsColor] forState:UIControlStateNormal];
[self.view addSubview:self.loginButton];

In output, I found a different color shadow outside the edge of corners.

Buttons are fine with press animation, but I wanted only flat buttons without animation.

Thanks,
Neetin

@jflinter
Copy link
Contributor

Great catch. So subtle I almost claimed I couldn't replicate this : ). Fixed this in e2316a5.

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