Skip to content

Alternative cropper preview widget#22

Merged
w32blaster merged 2 commits intow32blaster:masterfrom
thoepfner:feature-alternative-preview
Jun 28, 2015
Merged

Alternative cropper preview widget#22
w32blaster merged 2 commits intow32blaster:masterfrom
thoepfner:feature-alternative-preview

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