CalendarKit
CalendarKit copied to clipboard
Adjust font sizes and label width when based on view bounds
The font sizes and label sizes assume a large enough width for DayView. With a smaller view, labels start to overlap. Should additional params like DaySelectorStyle.dateLabelWidth and SwipeLabelStyle.labelFont be added to styles. The alternative would be to automatically size the element proportionally.
@diegorozen could you attach the screenshot?
Both solutions are OK, there could be value like DateLabelWidthAuto to force automatic width.
Adding an exaggerated small one to make the issue evident:

@diegorozen, I submitted a pull request a little while ago to support dynamic font sizes; this may, at least partially, help with this problem.