Skip to content

Add qr code size warning #353

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

Open
wants to merge 2 commits into
base: main
Choose a base branch
from
Open

Conversation

lvchamao
Copy link

Pull Request that Closes: #35

A warning message was added if the fixed qr size is too large to be shown in the maximum dimensions of a firefox popup window (800x600), see screenshot 1. This message does not show on mobile platforms . The warning can be dismissed and is automatically hidden if users manually resize the popup.

Furthermore, when trying large fixed sizes to find overflowing QR Codes, I ran into the issue that when the fixed size is large, e.g. 1000, the initial centering of the QR Code is wrong. (screenshot 2)
I was able to fix this by using the resizeLayout function in the initialization.

image

image

Fixed initial centering of the QR code in case of large size.
Added a QR Code warning if the chosen fixed size is larger than the available display space.
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.

Show warning when QR code size is too large for overflow menu
1 participant