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

Fixed gradient cut off #136

Merged
merged 3 commits into from
Mar 29, 2016
Merged

Fixed gradient cut off #136

merged 3 commits into from
Mar 29, 2016

Conversation

tbaranes
Copy link
Member

Should close #129
The issue here was the same as the border. Drawing the gradient in configInspectableProperties() isn't enough because we don't know the real frame. In our case, the frame was (600,600) (xib frame), but not the final one.

Moving the configGradient() in layoutSubviews() fixed this.

@tbaranes tbaranes changed the title Fixed gradient frame Fixed gradient cut off Mar 28, 2016
@JakeLin
Copy link
Member

JakeLin commented Mar 28, 2016

👍 Good found, thanks @tbaranes

@tbaranes tbaranes merged commit ce4337b into master Mar 29, 2016
@tbaranes tbaranes deleted the hotfix/gradient_frame branch March 29, 2016 06:21
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

Successfully merging this pull request may close these issues.

Gradient color cut off in UITableViewControllers
2 participants