CodeBeamOrg / CodeBeam.MudBlazor.Extensions

Useful third party extension components for MudBlazor, from the contributors.

Home Page:https://mudextensions.codebeam.org/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

MudBarCode rendering UPC_A and UPC_E incorrectly

kencherasaro opened this issue · comments

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

<rect class="d-flex align-center justify-center" width="@content.ModuleSizeX" height="@content.ModuleSizeY" style="@($"fill:{Color}; stroke-width:{StrokeWidth}px; stroke:{Color}")"

public BarcodeResult(BitMatrix bitMatrix, int moduleSizeX, int moduleSizeY)

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

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