CodeBeamOrg / CodeBeam.MudBlazor.Extensions

Useful third party extension components for MudBlazor, from the contributors.
https://mudextensions.codebeam.org/
MIT License
367 stars 62 forks source link

Fix Barcode scaling/positioning #241

Closed radderz closed 11 months ago

radderz commented 11 months ago

Fix SVG to have a view box based on the encoding size and enable scaling to be handled by the Width/Height and the renderer (browser).

This improves the central positioning of a QR Code. Before the QR Code, depending on the size of the encoded value, would have different padding on the right/bottom since the scaling was all in integers.

mckaragoz commented 11 months ago

I noticed this visual bug, but can't find time to look this deeper, thanks 🥇