RobertFOConnor / react-native-number-ticker

A simple easy-to-use ticker component for animating ticker numbers.
29 stars 15 forks source link

width too small #6

Closed FraserCampbell1 closed 4 years ago

FraserCampbell1 commented 4 years ago

I noticed you are making the width 62% of the textSize.

image

This is currently cutting the numbers in my number ticker, is there a reason the width is being cut to 62%?

RobertFOConnor commented 4 years ago

Hi Fraser, the reason for this was for optimal display with the font I was using. I understand that when using different fonts this percentage will obviously need to be adjustable using a prop value. This could be something to add in a future version.

FraserCampbell1 commented 4 years ago

Appreciate the quick response. I thought that was the case! But just wanted to check I hadn't missed anything else. Thanks