maggix / tapkulibrary

tap + haiku = tapku, a well crafted open source iOS framework
http://devinsheaven.com/tapku/documentation
MIT License
3 stars 5 forks source link

Calendar dot under circle #2

Open Morpheus2002 opened 9 years ago

Morpheus2002 commented 9 years ago

How would you move the month calendar dot under the circle like in stock calendar app? For now the circle looks a little bit wired, because it's not around the date.

maggix commented 9 years ago

Hi! Have a look at line ~601 of TKCalendarMonthView_ios7.m. Somewhere around these lines:

CGRect r = self.selectedCircleView.bounds;
r.origin.y += (30*[TKScale factor]);
r.size.height -= (31*[TKScale factor]);
    ...