Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Days not lining up correctly after changing DayButton size #138

Open
administerspice opened this issue May 18, 2017 · 2 comments
Open

Days not lining up correctly after changing DayButton size #138

administerspice opened this issue May 18, 2017 · 2 comments
Labels

Comments

@administerspice
Copy link

administerspice commented May 18, 2017

"react-native-calendar": "https://github.com/christopherdro/react-native-calendar"

Changed calendar width to 0.7 of screen and dayButton to 1/7 of that. The top row is jutting out...

iOS
screen shot 2017-05-18 at 1 06 01 pm

Android
screen shot 2017-05-18 at 1 06 09 pm

      calendarContainer: {
        width: calendarWidth
      },
      dayButton: {
        width: calendarWidth/7
      }
@KolbySisk
Copy link

Found a solution to this bug:

dayButtonFiller: {
     width: calendarWidth/7
},

@coderdave
Copy link
Collaborator

Have you tried with the latest release?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

4 participants