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

Is it possible to extent the qr code to fill the canvas #8

Open
technetium opened this issue Feb 13, 2023 · 0 comments
Open

Is it possible to extent the qr code to fill the canvas #8

technetium opened this issue Feb 13, 2023 · 0 comments

Comments

@technetium
Copy link

I have a responsive design, the size of the canvas where I want to show the QR code can vary. How to I make the QR code the same size as the canvas.

I've tried setting the width and height to:

  • auto: Error: The provided double value is non-finite.
  • 0: Error: The canvas is too small
  • 10000: QR code is now to big for the canvas
  • Not at all: Generates at default size

Has anybody another suggestion?

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

No branches or pull requests

1 participant