Skip to content

feat: Add enlarged QR Image + Increase brightness #1727

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

Merged
merged 2 commits into from
May 10, 2019
Merged

feat: Add enlarged QR Image + Increase brightness #1727

merged 2 commits into from
May 10, 2019

Conversation

anhanh11001
Copy link
Contributor

Detail:

  • Set up click listener to enlarge QR Image
  • Increate brightness when clicking on QR Image.

Fixes: #1215

Screenshots for the change:
Somehow my screen recorder doesn't record the change in brightness. But it increases the brightness to maximum when dialog appear and return to current brightness when dismissing the dialog
ezgif-4-ef9e53ad591c

@auto-label auto-label bot added the feature label May 8, 2019
@ShridharGoel
Copy link
Member

Shouldn't the enlarged QR code be a little bigger than this? Also, in my opinion, the 'Cancel' button can be removed and instead, clicking outside the box should close it.

@anhanh11001
Copy link
Contributor Author

Shouldn't the enlarged QR code be a little bigger than this? Also, in my opinion, the 'Cancel' button can be removed and instead, clicking outside the box should close it.

Ok, I'll try to find way to improve the size. Putting image view into a dialog was a bit trickier than I thought yesterday.

Detail:
- Set up click listener to enlarge QR Image
- Increate brightness when clicking on QR Image.
- Setting margin of created QR image small so that QR Image Dialog can contain large image.

Fixes: #1215
@anhanh11001
Copy link
Contributor Author

UPDATE:
Detail:

  • Set up click listener to enlarge QR Image
  • Increate brightness when clicking on QR Image.
  • Setting margin of created QR image small so that QR Image Dialog can contain large image.

Current QR Image dialog looks like:

@iamareebjamal iamareebjamal merged commit bc95084 into fossasia:development May 10, 2019
@anhanh11001 anhanh11001 deleted the 1215_qr_large_bright branch June 20, 2019 13:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Enlarge QR code and increase brightness on clicking
5 participants