NumberPicker icon indicating copy to clipboard operation
NumberPicker copied to clipboard

Increase spacing between values

Open Castle33 opened this issue 7 years ago • 5 comments

I haven't been able to increase the padding between values without having to increase the widget height (for vertical picker). Is this functionality available or there is no way to do it?

The reason for this is that I cannot give the widget more height (limited space) but I still need the text size to be big enough, so the values of each line end up overlapping. Here is a visual example of the problem:

image

Castle33 avatar Apr 05 '18 09:04 Castle33

Yes I also want to be able to adjust spacing (larger AND smaller) between items.

AccuPhoenix01 avatar Apr 17 '19 16:04 AccuPhoenix01

@ShawnLin013 Please help to solve this issue🙏

vw2k3 avatar Mar 30 '20 08:03 vw2k3

@ShawnLin013 I also have the need to add spacing between items. I have a branch with a working solution. Is it possible for me to get access to create prs? Screenshot_1606915873

dbarr33 avatar Dec 02 '20 13:12 dbarr33

@ShawnLin013 I also have the need to add spacing between items. I have a branch with a working solution. Is it possible for me to get access to create prs?

@dbarr33 Sure, you need to fork this repository and make your changes first, then create a pull request from the forked repository without any permissions.

ShawnLin013 avatar Dec 02 '20 14:12 ShawnLin013

@Castle33 this pr has a fix for this issue. https://github.com/ShawnLin013/NumberPicker/pull/185

@ShawnLin013 any idea when this fix will get released? Thanks for the quick review.

dbarr33 avatar Dec 02 '20 17:12 dbarr33