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

Custom OverlayView radius without change image padding #68

Closed
wangyeming opened this issue Mar 30, 2016 · 2 comments
Closed

Custom OverlayView radius without change image padding #68

wangyeming opened this issue Mar 30, 2016 · 2 comments
Assignees

Comments

@wangyeming
Copy link

What I want to show in my app:

ucrop-issue-pic01

I attempt to change padding of OverlayView but I must also change GestureCropImageView's padding because, as your describe, 'padding for both views must be equal'.

vGestureCropImageView.setPadding(padding, padding, padding, padding);
vOverlayView.setPadding(padding, padding, padding, padding);

The real display:

ucrop-issue-pic02

@wangyeming wangyeming changed the title Custom SverlayView radius without change image padding Custom OverlayView radius without change image padding Mar 30, 2016
@shliama
Copy link
Contributor

shliama commented Apr 20, 2016

Thanks for the report.
I think I'll fix this in next update.

@shliama shliama self-assigned this Apr 20, 2016
@shliama
Copy link
Contributor

shliama commented Apr 21, 2016

Please try 1.5.0. Now paddings are not associated, therefore you can adjust them individually.

@shliama shliama closed this as completed Apr 23, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants