CodeBeam.MudBlazor.Extensions icon indicating copy to clipboard operation
CodeBeam.MudBlazor.Extensions copied to clipboard

MudBarCode rendering UPC_A and UPC_E incorrectly

Open kencherasaro opened this issue 1 year ago • 1 comments
trafficstars

It appears that the inner tags for these SVGs are rendering with a height of 1 when the value should be larger. Thinking it could be a parameter or possibly calculated.

<rect class="d-flex align-center justify-center" width="1" height="1" style="fill: black; stroke-width: 0px; stroke: black;" x="9"y="0">

Screenshot 2024-03-06 at 8 12 41 AM

https://github.com/CodeBeamOrg/CodeBeam.MudBlazor.Extensions/blob/1c05d6cf7b95c7c0d10e12ec01755756f0841199/CodeBeam.MudBlazor.Extensions/Components/Barcode/MudBarcode.razor#L20

https://github.com/CodeBeamOrg/CodeBeam.MudBlazor.Extensions/blob/1c05d6cf7b95c7c0d10e12ec01755756f0841199/CodeBeam.MudBlazor.Extensions/Components/Barcode/MudBarcode.razor.cs#L62

https://github.com/CodeBeamOrg/CodeBeam.MudBlazor.Extensions/blob/1c05d6cf7b95c7c0d10e12ec01755756f0841199/CodeBeam.MudBlazor.Extensions/Components/Barcode/BarcodeResult.cs#L14

kencherasaro avatar Mar 06 '24 13:03 kencherasaro

Im not have expertise on this component. You can prepare a PR. Is it only about making it as a parameter?

mckaragoz avatar Mar 06 '24 16:03 mckaragoz

Added ForceHeight parameter, you can use it on rectangle shaped barcode formats. Will come with next release.

mckaragoz avatar May 22 '24 13:05 mckaragoz