react-native-barcode-builder icon indicating copy to clipboard operation
react-native-barcode-builder copied to clipboard

Add a way to find the required view width for the barcode

Open mbaltaks opened this issue 6 years ago • 1 comments

The ability to find the required width for a render of the barcode data allows figuring out the largest line width that can be used for a particular view, and even determining when the barcode data will not fit in a view. (Finding the view size requires something like https://cmichel.io/how-to-get-the-size-of-a-react-native-view-dynamically). I'm new to JavaScript and React Native, so there might be problems with this code, but it does seem to work.

mbaltaks avatar Apr 11 '19 02:04 mbaltaks

Why has this PR been ignored for over 1 year?

faroutchris avatar Apr 19 '20 19:04 faroutchris