CalendarKit icon indicating copy to clipboard operation
CalendarKit copied to clipboard

Adjust font sizes and label width when based on view bounds

Open diegorozen opened this issue 8 years ago • 3 comments

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 avatar Feb 26 '17 19:02 diegorozen

@diegorozen could you attach the screenshot? Both solutions are OK, there could be value like DateLabelWidthAuto to force automatic width.

richardtop avatar Feb 26 '17 21:02 richardtop

Adding an exaggerated small one to make the issue evident:

simulator screen shot feb 26 2017 5 50 44 pm

diegorozen avatar Feb 26 '17 22:02 diegorozen

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

jameswwwebster avatar Sep 28 '17 07:09 jameswwwebster