Closed DevonAllary closed 1 year ago
This is in fact should work. I'll check and get back to you. Let's keep this open as a bug.
Please, use vertifalDiff
property instead:
override func viewDidLoad() {
super.viewDidLoad()
title = "CalendarKit Demo"
navigationController?.navigationBar.isTranslucent = false
dayView.autoScrollToFirstEvent = true
reloadData()
var style = CalendarStyle()
style.timeline.verticalDiff = 90
updateStyle(style)
}
This code works perfectly:
Feel free to close this issue if it solves your problem.
New Issue Checklist
Issue Description
Is there any way to increase the size of the hour blocks in the calendar day view or to adjust the position of the text inside the event? With short events (around 15 minutes) the event text gets cut off, even with small sized font.
Code I'm using with CalendarKit
I tried using the fix recommended in #236 but it's not working.
Result I am trying to achieve
I'd like to either increase the size of the hour blocks or adjust the positioning of the text box inside the event so that the text doesn't get cutoff.