BugiDev / react-native-calendar-strip

Easy to use and visually stunning calendar component for React Native.
MIT License
951 stars 326 forks source link

Item spacing issues #212

Open sanjaywv opened 4 years ago

sanjaywv commented 4 years ago
Screenshot 2020-07-24 at 3 51 35 PM

@flobiwankenobi @beujator @Vitall @ruslanchek @caiobiodere

peacechen commented 4 years ago

What's the specific issue you're reporting? Is the dotted rectangle pointing to something? Please post a code snippet or Snack that reproduces this.

dineshnatarajan111 commented 3 years ago

the spacing between two items can't be edited

@flobiwankenobi @beujator @Vitall @ruslanchek @caiobiodere

dineshnatarajan111 commented 3 years ago

@sanjaywv has denoted it by highlighting the space between the items

peacechen commented 3 years ago

RNCS tries to fit the given number of days into the available horizontal space. For example, in landscape mode the days are spaced further apart. Here are some props that you can try:

numDaysInWeek (reduce from default of 7) maxDayComponentSize responsiveSizingOffset

https://github.com/BugiDev/react-native-calendar-strip#responsive-sizing