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

Alternative cropper preview widget #22

Merged
merged 2 commits into from
Jun 28, 2015

Conversation

thoepfner
Copy link
Contributor

Alternative cropper preview widget that is constrained both horizontally and vertically.

Example: new GWTConstrainedCropperPreview(100, 100) constructs a preview, that scales both horizontally and vertically, but doesn't exceed 100px in either dimension.

  • For a square selection, both width and height are 100px.
  • For a landscape selection, the width is 100px and height is less than 100px.
  • For a portrait selection, the height is 100px and width is less than 100px.

@w32blaster
Copy link
Owner

Thank you indeed for your improvement! I will check it asap.

w32blaster added a commit that referenced this pull request Jun 28, 2015
@w32blaster w32blaster merged commit 20824b3 into w32blaster:master Jun 28, 2015
@w32blaster
Copy link
Owner

I played with your code and it looks great. Thanks for your contribution!

@w32blaster
Copy link
Owner

0.5.2 is released. Will be available at Central Maven repository soon.

@w32blaster
Copy link
Owner

@w32blaster
Copy link
Owner

@thoepfner
Copy link
Contributor Author

Sorry for the late reply, have been on vacation. Thanks a bunch for accepting the enhancement! Also thank you for the project, it already saved me a lot of work!

@w32blaster
Copy link
Owner

I am happy to help! Thank you for your contribution!

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

Successfully merging this pull request may close these issues.

2 participants