How can I change the pagation dots spacing ?
It's mentioned in the pagination usage section:
https://github.com/archriss/react-native-snap-carousel/blob/master/doc/PAGINATION.md#note-on-dots-colors
Change the marginHorizantal field in the dotStyle from 8 to desired value
@l0h1t still not working.
I think the marginHorizontal is not on the dotStyle, but on the dotContainerStyle prop of Pagination (it refers to each container around each dot). So you can give a style with an given value of marginHorizontal to overwrite the default value
@voisinhugo your suggestion works correctly!
Hi
This is not working for me, the space is always the same between the dots. Any ideas ?
@nguyenhoanglam @voisinhugo
Most helpful comment
I think the marginHorizontal is not on the
dotStyle, but on thedotContainerStyleprop of Pagination (it refers to each container around each dot). So you can give a style with an given value ofmarginHorizontalto overwrite the default value